Commit 2a7b1a00 authored by Mark Brown's avatar Mark Brown

ASoC: Correct WM8962 interrupt mask register read

Fix mismerge from the out of tree BSP where this support was developed.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 6b464321
...@@ -3339,7 +3339,7 @@ static irqreturn_t wm8962_irq(int irq, void *data) ...@@ -3339,7 +3339,7 @@ static irqreturn_t wm8962_irq(int irq, void *data)
int mask; int mask;
int active; 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 = snd_soc_read(codec, WM8962_INTERRUPT_STATUS_2);
active &= ~mask; active &= ~mask;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment