]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Add mixer workaround for TRX40 and co
authorTakashi Iwai <tiwai@suse.de>
Wed, 8 Apr 2020 14:04:48 +0000 (16:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 08:50:06 +0000 (10:50 +0200)
commitc89bbe2e407a181c039cc94184ecabb3eb1df29f
tree0296ee0509566c33bb1217e5818cbc4cb00e9c9a
parent47b7e27f36ef16b8bf636b7cc060e66304568766
ALSA: usb-audio: Add mixer workaround for TRX40 and co

commit 9d29c969d696e00c22062b36ab8f5c74fe78fc3a upstream.

Some recent boards (supposedly with a new AMD platform) contain the
USB audio class 2 device that is often tied with HD-audio.  The device
exposes an Input Gain Pad control (id=19, control=12) but this node
doesn't behave correctly, returning an error for each inquiry of
GET_MIN and GET_MAX that should have been mandatory.

As a workaround, simply ignore this node by adding a usbmix_name_map
table entry.  The currently known devices are:
* 0414:a002 - Gigabyte TRX40 Aorus Pro WiFi
* 0b05:1916 - ASUS ROG Zenith II
* 0b05:1917 - ASUS ROG Strix
* 0db0:0d64 - MSI TRX40 Creator
* 0db0:543d - MSI TRX40

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=206543
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200408140449.22319-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/mixer_maps.c