[alsa-devel] [PATCH 0/2] ALSA: usb-audio: UAC2 jack detection patchset

Andrew Chant achant at google.com
Thu Mar 22 22:39:54 CET 2018


These patches implement UAC2 jack detection.

This allows USB-to-3.5mm adapters and similar USB devices
to report jack state via alsa mixers, using the reporting
provided by the UAC2 connector control.

The first patch fixes up the function used to query
UAC controls.  The long lines in the table are unfortunate
but keep the table readable.  The long lines elsewhere
in the patch were in line with existing long lines due
to current code structure.


Andrew Chant (2):
  ALSA: usb-audio: fix uac control query argument
  ALSA: usb-audio: UAC2 jack detection

 include/linux/usb/audio-v2.h |   4 +-
 sound/usb/clock.c            |   5 +-
 sound/usb/mixer.c            | 168 +++++++++++++++++++++++++++++------
 3 files changed, 146 insertions(+), 31 deletions(-)

-- 
2.17.0.rc0.231.g781580f067-goog



More information about the Alsa-devel mailing list