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)
commit7dc3c5a0172e6c0449502103356c3628d05bc0e0
treeabae46f0f3dc313ed5284703be2a7cd79ff89c88
parent3507245b82b4362dc9721cbc328644905a3efa22
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