]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5682: Report the button event in the headset type only
authorOder Chiou <oder_chiou@realtek.com>
Thu, 16 Jul 2020 03:01:23 +0000 (11:01 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 16 Jul 2020 19:29:09 +0000 (20:29 +0100)
commitca920c909e92fb7300035b456fff0f9335825f5f
tree536b7fb25c4538383a06a01b0d1c85e161da506f
parent390e5717ea35873cb23cd1e641814a729d7d7589
ASoC: rt5682: Report the button event in the headset type only

The irq work will be manipulated by resume function, and it will report
the wrong jack type while the jack type is headphone in the button event.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Link: https://lore.kernel.org/r/20200716030123.27122-1-oder_chiou@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682.c