Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ASoC: codecs: max98090: switch to standard set_jack callback
@ 2026-05-20 13:29 Srinivas Kandagatla
  2026-05-20 13:29 ` [PATCH 1/2] ASoC: codecs: max98090: use component " Srinivas Kandagatla
  2026-05-20 13:29 ` [PATCH 2/2] ASoC: mt8173-max98090: use standard callback to set jack Srinivas Kandagatla
  0 siblings, 2 replies; 7+ messages in thread
From: Srinivas Kandagatla @ 2026-05-20 13:29 UTC (permalink / raw)
  To: broonie
  Cc: lgirdwood, perex, tiwai, matthias.bgg, angelogioacchino.delregno,
	sharq0406, kuninori.morimoto.gx, ckeepax, srinivas.kandagatla,
	linux-sound, linux-kernel, linux-arm-kernel, linux-mediatek

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-05-20 23:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-20 13:29 [PATCH 0/2] ASoC: codecs: max98090: switch to standard set_jack callback Srinivas Kandagatla
2026-05-20 13:29 ` [PATCH 1/2] ASoC: codecs: max98090: use component " Srinivas Kandagatla
2026-05-20 13:29 ` [PATCH 2/2] ASoC: mt8173-max98090: use standard callback to set jack Srinivas Kandagatla
2026-05-20 13:42   ` Mark Brown
2026-05-20 15:34     ` Srinivas Kandagatla
2026-05-20 15:41       ` Mark Brown
2026-05-20 23:12   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox