[PATCH 0/2] ASoC: codecs: max98090: switch to standard set_jack callback
Srinivas Kandagatla
srinivas.kandagatla at oss.qualcomm.com
Wed May 20 06:29:28 PDT 2026
The MAX98090 codec driver currently exposes a custom
max98090_mic_detect() helper for machine drivers to register a headset
jack.
This series converts the driver to use the standard component
.set_jack callback and updates the mt8173-max98090 machine driver to use
snd_soc_component_set_jack() instead of the codec-specific helper.
Using the standard callback removes the need for a custom exported
symbol and allows machine drivers to use the common ASoC jack
registration interface. This also improves compatibility with machine
drivers, such as Qualcomm platforms, that already rely on
snd_soc_component_set_jack().
Srinivas Kandagatla (2):
ASoC: codecs: max98090: use component set_jack callback
ASoC: mt8173-max98090: use standard callback to set jack
sound/soc/codecs/max98090.c | 10 +++++-----
sound/soc/codecs/max98090.h | 3 ---
sound/soc/mediatek/mt8173/mt8173-max98090.c | 3 +--
3 files changed, 6 insertions(+), 10 deletions(-)
--
2.47.3
More information about the Linux-mediatek
mailing list