Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;