]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Don't create jack controls for PCM terminals
authorTakashi Iwai <tiwai@suse.de>
Sun, 12 Apr 2020 08:13:30 +0000 (10:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 12 Apr 2020 08:14:48 +0000 (10:14 +0200)
commita8cfa5f6d386853b08138b5b9039a9b9b374c934
treeabae46f0f3dc313ed5284703be2a7cd79ff89c88
parenta9b7f6201d5f64633deea6d467407f4a3b0f3d2c
ALSA: usb-audio: Don't create jack controls for PCM terminals

Some funky firmwares set the connector flag even on PCM terminals
although it doesn't make sense (and even actually the firmware doesn't
react properly!).  Let's skip creation of jack controls in such a
case.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=206873
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200412081331.4742-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c