Commit 624aef49 authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Takashi Iwai

ALSA: usb-audio: work around KEF X300A firmware bug

When the driver tries to access Function Unit 10, the KEF X300A
speakers' firmware apparently locks up, making even PCM streaming
impossible.  Work around this by ignoring this FU.

Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 2078600b
...@@ -328,6 +328,11 @@ static struct usbmix_name_map gamecom780_map[] = { ...@@ -328,6 +328,11 @@ static struct usbmix_name_map gamecom780_map[] = {
{} {}
}; };
static const struct usbmix_name_map kef_x300a_map[] = {
{ 10, NULL }, /* firmware locks up (?) when we try to access this FU */
{ 0 }
};
/* /*
* Control map entries * Control map entries
*/ */
...@@ -419,6 +424,10 @@ static struct usbmix_ctl_map usbmix_ctl_maps[] = { ...@@ -419,6 +424,10 @@ static struct usbmix_ctl_map usbmix_ctl_maps[] = {
.id = USB_ID(0x200c, 0x1018), .id = USB_ID(0x200c, 0x1018),
.map = ebox44_map, .map = ebox44_map,
}, },
{
.id = USB_ID(0x27ac, 0x1000),
.map = kef_x300a_map,
},
{ 0 } /* terminator */ { 0 } /* terminator */
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment