]> 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)
commitfe539bceff8e5f67620b89512f42e75e2b8de777
tree536b7fb25c4538383a06a01b0d1c85e161da506f
parentc78cda141968e422cd34a48d7904947af1e75bc9
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