diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-07-05 00:59:32 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-07-10 19:49:25 +0200 |
commit | 34c906ddacd237511808fb2bbd941e6b91e9095a (patch) | |
tree | 04267763e0371b3197e116d8ed07dd4f9b530c51 /security | |
parent | ASoC: rt5651: Fix workqueue cancel vs irq free race on remove (diff) | |
download | linux-34c906ddacd237511808fb2bbd941e6b91e9095a.tar.xz linux-34c906ddacd237511808fb2bbd941e6b91e9095a.zip |
ASoC: rt5651: Allow disabling jack-detect by calling set_jack(NULL)
Allow the machine driver to disable jack-detect over a suspend/resume by
calling snd_soc_component_set_jack(NULL).
Note this renames rt5651_set_jack, where all the jack-enable work was done
to rt5651_enable_jack_detect. This function can now no longer fail as it
does not request the IRQ anymore. It can still be passed an invalid jack
source, but that should never happen, so this is now logged and treated as
no jack source.
Cc: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions