diff options
| author | Charles Keepax <[email protected]> | 2025-06-24 12:28:42 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-06-30 15:04:16 +0000 |
| commit | 775f5729b47d8737f4f98e0141f61b3358245398 (patch) | |
| tree | 5b6d4fd934218c860328248b6639bd68d295cd4d /sound/soc/sdca/sdca_functions.c | |
| parent | ASoC: SDCA: Minor selected/detected mode control fixups (diff) | |
| download | kernel-775f5729b47d8737f4f98e0141f61b3358245398.tar.gz kernel-775f5729b47d8737f4f98e0141f61b3358245398.zip | |
ASoC: SDCA: Add flag for unused IRQs
Zero is a valid SDCA IRQ interrupt position so add a special value to
indicate that the IRQ is not used.
Reviewed-by: Bard Liao <[email protected]>
Signed-off-by: Charles Keepax <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'sound/soc/sdca/sdca_functions.c')
| -rw-r--r-- | sound/soc/sdca/sdca_functions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/sdca/sdca_functions.c b/sound/soc/sdca/sdca_functions.c index 093c681e9387..c34f3bf62983 100644 --- a/sound/soc/sdca/sdca_functions.c +++ b/sound/soc/sdca/sdca_functions.c @@ -912,6 +912,8 @@ static int find_sdca_entity_control(struct device *dev, struct sdca_entity *enti &tmp); if (!ret) control->interrupt_position = tmp; + else + control->interrupt_position = SDCA_NO_INTERRUPT; control->label = find_sdca_control_label(dev, entity, control); if (!control->label) |
