summaryrefslogtreecommitdiffstats
path: root/sound/soc/rockchip
diff options
context:
space:
mode:
authorMeng Tang <tangmeng@uniontech.com>2022-03-21 07:57:54 +0100
committerMark Brown <broonie@kernel.org>2022-03-21 13:04:37 +0100
commit5cb90dcb6ad569f4968da6dd841db10b91df5642 (patch)
treee6550198e8767de71ca6798981fb5c082df6e807 /sound/soc/rockchip
parentASoC: mediatek: mt6358: add missing EXPORT_SYMBOLs (diff)
downloadlinux-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