]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5677: Revert remove superfluous set
authorCurtis Malainey <cujomalainey@chromium.org>
Fri, 9 Aug 2019 21:59:51 +0000 (14:59 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 12 Aug 2019 13:00:50 +0000 (14:00 +0100)
commit7c496d37b144c3effe2e8611d6e7095b2abd169b
tree0e0d8cb1b90a9c2e8b9327eb21b515a0b25936bd
parentf4b6a73a1ae75e324f14220211cb46271b2b4351
ASoC: rt5677: Revert remove superfluous set

Commit 45ee8d13b6abb0 ("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>
sound/soc/codecs/rt5677.c