diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2019-12-11 19:45:03 -0600 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-12-12 09:17:06 +0530 |
commit | 6cd1d670bee641d5d10b11d58c7c99ac1ddf8068 (patch) | |
tree | 749db1f3f39a4eb10972547a9d2b2c12e48642ae /include/linux/soundwire | |
parent | soundwire: intel: update stream callbacks for hwparams/free stream operations (diff) | |
download | wireguard-linux-6cd1d670bee641d5d10b11d58c7c99ac1ddf8068.tar.xz wireguard-linux-6cd1d670bee641d5d10b11d58c7c99ac1ddf8068.zip |
soundwire: intel: update headers for interrupts
The existing use of 6 handlers is problematic in MSI mode. Update
headers so that all shared interrupts can be handled with a single
handler.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191212014507.28050-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/soundwire')
-rw-r--r-- | include/linux/soundwire/sdw_intel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/soundwire/sdw_intel.h b/include/linux/soundwire/sdw_intel.h index 3ccb38d48eef..2ce3e9ecc4b6 100644 --- a/include/linux/soundwire/sdw_intel.h +++ b/include/linux/soundwire/sdw_intel.h @@ -4,6 +4,8 @@ #ifndef __SDW_INTEL_H #define __SDW_INTEL_H +#include <linux/irqreturn.h> + /** * struct sdw_intel_stream_params_data: configuration passed during * the @params_stream callback, e.g. for interaction with DSP @@ -127,4 +129,6 @@ void sdw_intel_exit(struct sdw_intel_ctx *ctx); void sdw_intel_enable_irq(void __iomem *mmio_base, bool enable); +irqreturn_t sdw_intel_thread(int irq, void *dev_id); + #endif |