ASoC: rt5682: fix jack type detection issue
authorShuming Fan <shumingf@realtek.com>
Mon, 18 Mar 2019 07:17:13 +0000 (15:17 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 18 Mar 2019 14:43:46 +0000 (14:43 +0000)
commit675212bfb23394514b7f68ebf3954ba936281ccc
tree8565449de79ec7bd243f1ffbae91fd7db6cb9fe5
parent4834d7070c85a5fb69637265dbbb05d13043280c
ASoC: rt5682: fix jack type detection issue

The jack type detection needs the main bias power of analog.
The modification makes sure the main bias power on/off while jack plug/unplug.

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