]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: mediatek: Turn AFE on/off in runtime resume/suspend
authorKoro Chen <koro.chen@mediatek.com>
Tue, 22 Dec 2015 03:11:34 +0000 (11:11 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 22 Dec 2015 23:52:20 +0000 (23:52 +0000)
commit44c5a7dd62d44c94bbbb366b51aa4b1a13366ce6
treeea780c2454d8d1d0fcd8e315fbac64e4efe803c0
parentb44a8c4b66de51bcfc6597741a1b13cb2689fd81
ASoC: mediatek: Turn AFE on/off in runtime resume/suspend

AFE is actually allowed to be turn on before configuration of DAIs
since each DAI has its own enabling control. Turn on/off AFE in
runtime resume/suspend to avoid AFE being shut down when closing a DAI
while other DAIs are still active.

Signed-off-by: Koro Chen <koro.chen@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mtk-afe-pcm.c