ASoC: Correct WM8962 interrupt mask register read
Fix mismerge from the out of tree BSP where this support was developed. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
6b464321d2
commit
2a7b1a0020
@ -3339,7 +3339,7 @@ static irqreturn_t wm8962_irq(int irq, void *data)
|
||||
int mask;
|
||||
int active;
|
||||
|
||||
mask = snd_soc_read(codec, WM8962_INTERRUPT_STATUS_2);
|
||||
mask = snd_soc_read(codec, WM8962_INTERRUPT_STATUS_2_MASK);
|
||||
|
||||
active = snd_soc_read(codec, WM8962_INTERRUPT_STATUS_2);
|
||||
active &= ~mask;
|
||||
|
Loading…
Reference in New Issue
Block a user