summaryrefslogtreecommitdiff
path: root/include/sound/sdca_interrupts.h
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2025-06-24 13:28:44 +0100
committerMark Brown <broonie@kernel.org>2025-06-30 16:04:18 +0100
commitb9ab3b61824190b1c6b2c59e7ba4de591f24eb92 (patch)
tree1dab8c5d6480d3554bb81ca51c0dcf46b204b320 /include/sound/sdca_interrupts.h
parentb126394d9ec6f9d8322cf392ba23d4a5f96faf5a (diff)
ASoC: SDCA: Add some initial IRQ handlers
Add basic IRQ handlers for the function status and jack detection interrupts. Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev> Link: https://patch.msgid.link/20250624122844.2761627-8-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/sdca_interrupts.h')
-rw-r--r--include/sound/sdca_interrupts.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/sdca_interrupts.h b/include/sound/sdca_interrupts.h
index 4cda8b75bae0..bbbc3ab27eba 100644
--- a/include/sound/sdca_interrupts.h
+++ b/include/sound/sdca_interrupts.h
@@ -27,6 +27,7 @@ struct sdca_function_data;
* @function: Pointer to the Function that the interrupt is associated with.
* @entity: Pointer to the Entity that the interrupt is associated with.
* @control: Pointer to the Control that the interrupt is associated with.
+ * @priv: Pointer to private data for use by the handler.
* @externally_requested: Internal flag used to check if a client driver has
* already requested the interrupt, for custom handling, allowing the core to
* skip handling this interrupt.
@@ -39,6 +40,8 @@ struct sdca_interrupt {
struct sdca_entity *entity;
struct sdca_control *control;
+ void *priv;
+
bool externally_requested;
};