ASoC: rt5663: Check the JD status in the button pushing
authoroder_chiou@realtek.com <oder_chiou@realtek.com>
Fri, 10 Nov 2017 05:16:44 +0000 (13:16 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 10 Nov 2017 12:34:52 +0000 (12:34 +0000)
commitde6ae8afb9c098a874c3e81e3cc63938cc9f5bbc
treeb38a99ec37e1e7d478727ca5cdc3717a01e920a4
parentba68fa318442d25586d057c1e8c9165bdc62c1b3
ASoC: rt5663: Check the JD status in the button pushing

Check the JD status in the button pushing to prevent the IRQ that is locked
by button pushing event while the jack unpluging.

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