ASoC: rt5650: fix the wrong result of key button
authorShuming Fan <shumingf@realtek.com>
Fri, 13 Oct 2023 09:45:25 +0000 (17:45 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Nov 2023 13:10:59 +0000 (14:10 +0100)
commitb7ed4aa0c2e648090e720ca9eb22353036d06ede
tree7112dcbef7342c0bc0e989c553d1d46cef60696a
parent8e1a6594d78283ff4a029f03d14eb645284a45af
ASoC: rt5650: fix the wrong result of key button

[ Upstream commit f88dfbf333b3661faff996bb03af2024d907b76a ]

The RT5650 should enable a power setting for button detection to avoid the wrong result.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20231013094525.715518-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/rt5645.c