]> 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)
commit6f2b4ce376445d642ef9db04f95c84b9eade7042
treeabae46f0f3dc313ed5284703be2a7cd79ff89c88
parent466d81413c52ac87d28774190ee2085b165eaad3
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