Skip to content

Expose ALSA control for jack

Dylan Van Assche alsa-devel lkml phone-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 2 repliesIn review
  2. v21 patch 2 repliesSuperseded
  3. v11 patch 1 replySuperseded

Changes in v3 from the cover letter

- Improved cover letter
- Added Tested-by from
https://lore.kernel.org/alsa-devel/[email protected]/
- Properly added maintainers for sending this patch

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1sound: soc: codecs: wcd-mbhc-v2: expose ALSA control for jacksound/soc/codecs/wcd-mbhc-v2.c+4 -01 reply

Reviews trailers per patch

The patch has no Reviewed-by or Acked-by.

PatchJoel SelvarajCaleb Connolly
SeriesT-b T-b
1/1T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/1] Expose ALSA control for jack

Qualcomm SDM845 features a headphone jack via a Qualcomm WCD9340 codec which has jack detection through the wcd-mbhc-v2 driver.

ALSA features 2 ways to expose jack detection from the kernel to userspace either as an input device or through an ALSA control. The wcd-mbhc-v2 driver only supports the first option which is insufficient for userspace programs e.g. PulseAudio [1]. Therefore, ALSA clients such as PulseAudio do not pick up the jack detection events as they only support one of the possible interface (ALSA control or input interface, but not both). Expose the jack events as an ALSA control and input interface to provide ALSA clients both interfaces.

[1] https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1377

Changes in v3:

- Improved cover letter
- Added Tested-by from
https://lore.kernel.org/alsa-devel/[email protected]/
- Properly added maintainers for sending this patch

Kind regards,
Dylan Van Assche

Dylan Van Assche (1):
sound: soc: codecs: wcd-mbhc-v2: expose ALSA control for jack

 sound/soc/codecs/wcd-mbhc-v2.c | 4 ++++
 1 file changed, 4 insertions(+)
Signature · 1 line
2.39.2