ASoC: rt5645: fix IRQ error in jack detection
authorJohn Lin <john.lin@realtek.com>
Tue, 12 May 2015 12:43:04 +0000 (20:43 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 12 May 2015 18:50:40 +0000 (19:50 +0100)
commitb7f22478c01dbb44545f7b8192a6111d5e992a59
tree67e5b4cecb0d8a68f4e85b9907e95653e014c1e3
parent47ba5bb295431c7d2bd0e48b63b4cdce600248d3
ASoC: rt5645: fix IRQ error in jack detection

IRQ of jack and button detection is abnormal if "LDO2" and
"Mic Det Power" power disable in rt5645_jack_detect.
This patch make these two power keep enabled until jack out.

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