Skip to content

Commit

Permalink
ASoC: Correct WM8962 interrupt mask register read
Browse files Browse the repository at this point in the history
Fix mismerge from the out of tree BSP where this support was developed.

Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
broonie committed Dec 7, 2010
1 parent 6b46432 commit 2a7b1a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8962.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2a7b1a0

Please sign in to comment.