ASoC: rt5663: Fix the wrong result of the first jack detection
authoroder_chiou@realtek.com <oder_chiou@realtek.com>
Thu, 14 Dec 2017 01:54:07 +0000 (09:54 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 14 Dec 2017 11:13:33 +0000 (11:13 +0000)
commit958d022e326810fd762505bd02007aced79ffcbc
tree8e5f58ada4b53a80738c7f671f1ee6a777d8012f
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
ASoC: rt5663: Fix the wrong result of the first jack detection

In the first jack detection while booting, the result will always show as
headset, even we insert the headphone.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5663.c
sound/soc/codecs/rt5663.h