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.

Link: https://patchwork.kernel.org/patch/10856917/

BUG=b:128566657
TEST=plug in headset jack, verify the external mic can be detected

Change-Id: I6b5164b6005aaf7d97573f9dc77cf520d0360825
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Hou-hsun Lee <hou-hsun.lee@intel.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1528030
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Commit-Queue: Justin TerAvest <teravest@chromium.org>
Tested-by: Justin TerAvest <teravest@chromium.org>
Trybot-Ready: Justin TerAvest <teravest@chromium.org>
1 file changed