diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-07-26 17:47:05 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-07-26 17:47:05 +0200 |
commit | 636f78581dbd5529a52057973fe2bdfc1c2f528e (patch) | |
tree | 90ac0777cea7818b050cace6c459e7abd73b4cbe /sound/soc/codecs/wm8962.c | |
parent | 56487c279fe9fc23c5f15e2b935eb896ab7ba280 (diff) | |
parent | a0c27ab2421c47dc7c53f797fffcc0d17cdb122c (diff) |
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'sound/soc/codecs/wm8962.c')
-rw-r--r-- | sound/soc/codecs/wm8962.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c index 8499c563a9b..60d740ebeb5 100644 --- a/sound/soc/codecs/wm8962.c +++ b/sound/soc/codecs/wm8962.c @@ -3409,6 +3409,9 @@ static irqreturn_t wm8962_irq(int irq, void *data) active = snd_soc_read(codec, WM8962_INTERRUPT_STATUS_2); active &= ~mask; + /* Acknowledge the interrupts */ + snd_soc_write(codec, WM8962_INTERRUPT_STATUS_2, active); + if (active & WM8962_FLL_LOCK_EINT) { dev_dbg(codec->dev, "FLL locked\n"); complete(&wm8962->fll_lock); @@ -3433,9 +3436,6 @@ static irqreturn_t wm8962_irq(int irq, void *data) msecs_to_jiffies(250)); } - /* Acknowledge the interrupts */ - snd_soc_write(codec, WM8962_INTERRUPT_STATUS_2, active); - return IRQ_HANDLED; } |