diff options
author | Meng Tang <tangmeng@uniontech.com> | 2022-03-21 07:57:54 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-03-21 13:04:37 +0100 |
commit | 5cb90dcb6ad569f4968da6dd841db10b91df5642 (patch) | |
tree | e6550198e8767de71ca6798981fb5c082df6e807 /sound/soc/rockchip | |
parent | ASoC: mediatek: mt6358: add missing EXPORT_SYMBOLs (diff) | |
download | linux-5cb90dcb6ad569f4968da6dd841db10b91df5642.tar.xz linux-5cb90dcb6ad569f4968da6dd841db10b91df5642.zip |
ASoC: fsl-asoc-card: Fix jack_event() always return 0
Today, hp_jack_event and mic_jack_event always return 0. However,
snd_soc_dapm_disable_pin and snd_soc_dapm_enable_pin may return a
non-zero value, this will cause the user who calling hp_jack_event
and mic_jack_event don't know whether the operation was really
successfully.
Signed-off-by: Meng Tang <tangmeng@uniontech.com>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/20220321065754.18307-1-tangmeng@uniontech.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip')
0 files changed, 0 insertions, 0 deletions