summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRander Wang <rander.wang@intel.com>2019-12-12 02:45:05 +0100
committerVinod Koul <vkoul@kernel.org>2019-12-12 04:47:07 +0100
commit905b5a81afe15e8252e5892b8ca1ff1c1adfb79d (patch)
treeebefad261f430b9dd2cf43b0f150cf90829fe85f
parentsoundwire: intel: add link_list to handle interrupts with a single thread (diff)
downloadlinux-905b5a81afe15e8252e5892b8ca1ff1c1adfb79d.tar.xz
linux-905b5a81afe15e8252e5892b8ca1ff1c1adfb79d.zip
soundwire: intel: add prototype for WAKEEN interrupt processing
In ClockStop mode, the PCI device will be notified of a wake, which will be handled from an interrupt thread. Signed-off-by: Rander Wang <rander.wang@intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20191212014507.28050-10-pierre-louis.bossart@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--include/linux/soundwire/sdw_intel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/soundwire/sdw_intel.h b/include/linux/soundwire/sdw_intel.h
index 2a56180bc9dc..073121c49695 100644
--- a/include/linux/soundwire/sdw_intel.h
+++ b/include/linux/soundwire/sdw_intel.h
@@ -122,6 +122,8 @@ struct sdw_intel_res {
int sdw_intel_acpi_scan(acpi_handle *parent_handle,
struct sdw_intel_acpi_info *info);
+void sdw_intel_process_wakeen_event(struct sdw_intel_ctx *ctx);
+
struct sdw_intel_ctx *
sdw_intel_probe(struct sdw_intel_res *res);