ASoC: Mediatek: MT8183: enable dev runtime suspend and resume
authorJiaxin Yu <jiaxin.yu@mediatek.com>
Wed, 22 May 2019 14:52:04 +0000 (22:52 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 23 May 2019 13:34:29 +0000 (14:34 +0100)
commit5463eb5c2f758069d1db21ed2cf23339431c9481
treeb873446a97c940acd335b11ff44008d40351ecc5
parent3917da94f787e6c907e440653ead0c666a71379e
ASoC: Mediatek: MT8183: enable dev runtime suspend and resume

System suspend will power off audio, so we need regcache sync when
system resume.

Remove pm_runtime_get_sync in dev probe and pm_runtime_put_sync in
dev remove.So that audio dev can triggle runitme suspend and resume.

Signed-off-by: Jiaxin Yu <jiaxin.yu@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8183/mt8183-afe-pcm.c