FROMLIST: 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.


TEST=plug in headset jack, verify the external mic can be detected

Change-Id: I6b5164b6005aaf7d97573f9dc77cf520d0360825
Signed-off-by: Shuming Fan <>
Signed-off-by: Hou-hsun Lee <>
Reviewed-by: Justin TerAvest <>
Commit-Queue: Justin TerAvest <>
Tested-by: Justin TerAvest <>
Trybot-Ready: Justin TerAvest <>
1 file changed