ASoC: rt5645: fix jack type detect error
authorJohn Lin <john.lin@realtek.com>
Tue, 12 May 2015 12:43:05 +0000 (20:43 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 12 May 2015 18:50:40 +0000 (19:50 +0100)
commit05a9b46a718f664fce5d236abe72bffb8200d616
tree95b5c370c891508ecc7415c6c2c77acb00fde9d8
parentb7f22478c01dbb44545f7b8192a6111d5e992a59
ASoC: rt5645: fix jack type detect error

rt5645_jack_detect doesn't report the correct jack type consistently.
It mistakes OMTP type headset to CTIA type in particular HW design.
Register changes are needed for this issue. This patch can make it
more stable.

Signed-off-by: John Lin <john.lin@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c