ASoC: rt5677: Revert remove superfluous set

Commit 4dc057a786 ("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>
This commit is contained in:
Curtis Malainey 2019-08-09 14:59:51 -07:00 committed by Mark Brown
parent 8b209cdb69
commit ae032156ec
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -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;