Skip to content

Commit

Permalink
ALSA: usb-audio: work around KEF X300A firmware bug
Browse files Browse the repository at this point in the history
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: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Clemens Ladisch authored and Takashi Iwai committed Feb 17, 2014
1 parent 2078600 commit 624aef4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sound/usb/mixer_maps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -419,6 +424,10 @@ static struct usbmix_ctl_map usbmix_ctl_maps[] = {
.id = USB_ID(0x200c, 0x1018),
.map = ebox44_map,
},
{
.id = USB_ID(0x27ac, 0x1000),
.map = kef_x300a_map,
},
{ 0 } /* terminator */
};

0 comments on commit 624aef4

Please sign in to comment.