[PATCH 0/2] ASoC: codecs: max98090: switch to standard set_jack callback

Srinivas Kandagatla posted 2 patches 4 days, 9 hours ago
There is a newer version of this series
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(-)
[PATCH 0/2] ASoC: codecs: max98090: switch to standard set_jack callback
Posted by Srinivas Kandagatla 4 days, 9 hours ago
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