Skip to content

Commit ff69c97

Browse files
Srinivas-Kandagatlabroonie
authored andcommitted
ASoC: msm8916-wcd-analog: fix register Interrupt offset
For some reason interrupt set and clear register offsets are not set correctly. This patch corrects them! Fixes: 585e881 ("ASoC: codecs: Add msm8916-wcd analog codec") Signed-off-by: Srinivas Kandagatla <[email protected]> Tested-by: Stephan Gerhold <[email protected]> Reviewed-by: Stephan Gerhold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 314213c commit ff69c97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/codecs/msm8916-wcd-analog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
#define CDC_D_REVISION1 (0xf000)
2121
#define CDC_D_PERPH_SUBTYPE (0xf005)
22-
#define CDC_D_INT_EN_SET (0x015)
23-
#define CDC_D_INT_EN_CLR (0x016)
22+
#define CDC_D_INT_EN_SET (0xf015)
23+
#define CDC_D_INT_EN_CLR (0xf016)
2424
#define MBHC_SWITCH_INT BIT(7)
2525
#define MBHC_MIC_ELECTRICAL_INS_REM_DET BIT(6)
2626
#define MBHC_BUTTON_PRESS_DET BIT(5)

0 commit comments

Comments
 (0)