]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: nau8825: add set_jack coponment support
authorDavid Lin <CTLIN0@nuvoton.com>
Mon, 25 Oct 2021 11:38:57 +0000 (19:38 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 26 Oct 2021 11:35:15 +0000 (12:35 +0100)
commit414605e428f35f2e636eb7407fffc953323f47f8
treee2182adee2bfcf702e9bab7f1c7be97409586f73
parent5a04486b8b4c7ff6151c5741d2e1d30e47b107c9
ASoC: nau8825: add set_jack coponment support

Use set_jack ops to set jack for new machine drivers. Meanwhile,
the old machine drivers can still call previous export function
"nau8825_enable_jack_detect".

Signed-off-by: David Lin <CTLIN0@nuvoton.com>
Signed-off-by: Mac Chiang <mac.chiang@intel.com>
Link: https://lore.kernel.org/r/20211025113857.3860951-2-CTLIN0@nuvoton.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/nau8825.c