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)
commitc6167e10e76fb97d37613004046e66027b3a569b
treee2182adee2bfcf702e9bab7f1c7be97409586f73
parent1198ff12cbdd5f42c032cba1d96ebc7af8024cf9
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