ASoC: mediatek: mt8183: switch tdm pins gpio function when playback on or off
authorJiaxin Yu <jiaxin.yu@mediatek.com>
Thu, 22 Aug 2019 12:51:00 +0000 (20:51 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 22 Aug 2019 17:29:10 +0000 (18:29 +0100)
commit6191cbde5ff02ef5307e7b2e4f5b8f7607c2b1df
tree265abaeedc011be0115f3c362331a83af1d5369b
parent97aad5ce88164bc5f884b5234f015ac553ea2fe5
ASoC: mediatek: mt8183: switch tdm pins gpio function when playback on or off

Pull TDM pins down when TDM BE shutdown to avoid current leakage.

Signed-off-by: Jiaxin Yu <jiaxin.yu@mediatek.com>
Link: https://lore.kernel.org/r/1566478261-13464-2-git-send-email-jiaxin.yu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c