summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5677.c
diff options
context:
space:
mode:
authorCurtis Malainey <cujomalainey@chromium.org>2019-08-09 14:59:51 -0700
committerMark Brown <broonie@kernel.org>2019-08-12 14:00:50 +0100
commitae032156ec4142b7a1d644eba652806785de1777 (patch)
tree0e0d8cb1b90a9c2e8b9327eb21b515a0b25936bd /sound/soc/codecs/rt5677.c
parent8b209cdb696f49f7f5d6c1922bed435e54631ddd (diff)
downloadlinux-ae032156ec4142b7a1d644eba652806785de1777.tar.bz2
ASoC: rt5677: Revert remove superfluous set
Commit 4dc057a786dc23 ("ASoC: rt5677: remove superfluous set") was an attempted code cleanup but was incorrectly tested before sent and actually breaks the interrupt since it never resets the value on each loop now. The breakage is most testable when hotwording code is added and also uses the interrupt. Signed-off-by: Curtis Malainey <cujomalainey@chromium.org> Link: https://lore.kernel.org/r/20190809215952.155660-1-cujomalainey@chromium.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5677.c')
-rw-r--r--sound/soc/codecs/rt5677.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5677.c b/sound/soc/codecs/rt5677.c
index deaed5132dc9..c779dc3474f9 100644
--- a/sound/soc/codecs/rt5677.c
+++ b/sound/soc/codecs/rt5677.c
@@ -5098,6 +5098,7 @@ static irqreturn_t rt5677_irq(int unused, void *data)
goto exit;
}
+ irq_fired = false;
for (i = 0; i < RT5677_IRQ_NUM; i++) {
if (reg_irq & rt5677_irq_descs[i].status_mask) {
irq_fired = true;