ASoC: rt5682: fix the pop noise while OMTP type headset plugin
authorShuming Fan <shumingf@realtek.com>
Tue, 23 Jun 2020 12:53:12 +0000 (20:53 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 24 Jun 2020 14:30:03 +0000 (15:30 +0100)
commit9bc5fd71b680ca017d59510b4f402577758b8496
tree68f2e5f34711215c94f2a5017cb7c871bd4b59f2
parent15217d170a4461c1d4c1ea7c497e1fc1122e42a9
ASoC: rt5682: fix the pop noise while OMTP type headset plugin

To turn the headphone output switch off during jack type detection, it
could avoid the pop noise when jack type switches to OMTP type.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20200623125312.27896-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682.c