]> 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)
commitf5583c6edaea6124903abce6607af3a8fa798cbf
treee2182adee2bfcf702e9bab7f1c7be97409586f73
parent35f13238d09c1cfaae6f2830fe2a04798c88e3be
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