]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5677: Allow VAD to be shut on/off at all times
authorCurtis Malainey <cujomalainey@chromium.org>
Wed, 6 Nov 2019 01:13:33 +0000 (17:13 -0800)
committerMark Brown <broonie@kernel.org>
Mon, 11 Nov 2019 13:02:05 +0000 (13:02 +0000)
commit8560cdd5b14bcb3de17aa30006eda51f2cd1d35c
treeec5e7dcb40002018c346a1bbd9b607088ad95710
parentbd3854e60f0c0f1abd71877664ae8740a93597e9
ASoC: rt5677: Allow VAD to be shut on/off at all times

Due to limitations of the clocking configuration, we have no way of
scheduling our hibernation before the bdw dsp hibernates. This causes
issues when the system suspends with an open stream. We need userspace
to toggle the kcontrol before we are suspended so that any writes on
suspend are not lost and we don't corrupt the regmap.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Link: https://lore.kernel.org/r/20191106011335.223061-9-cujomalainey@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5677.c