]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Mar 2014 16:46:46 +0000 (08:46 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Mar 2014 16:46:46 +0000 (08:46 -0800)
added patches:
alsa-usb-audio-work-around-kef-x300a-firmware-bug.patch

queue-3.4/alsa-usb-audio-work-around-kef-x300a-firmware-bug.patch [new file with mode: 0644]
queue-3.4/series

diff --git a/queue-3.4/alsa-usb-audio-work-around-kef-x300a-firmware-bug.patch b/queue-3.4/alsa-usb-audio-work-around-kef-x300a-firmware-bug.patch
new file mode 100644 (file)
index 0000000..1fc63a1
--- /dev/null
@@ -0,0 +1,46 @@
+From 624aef494f86ed0c58056361c06347ad62b26806 Mon Sep 17 00:00:00 2001
+From: Clemens Ladisch <clemens@ladisch.de>
+Date: Sun, 16 Feb 2014 17:11:10 +0100
+Subject: ALSA: usb-audio: work around KEF X300A firmware bug
+
+From: Clemens Ladisch <clemens@ladisch.de>
+
+commit 624aef494f86ed0c58056361c06347ad62b26806 upstream.
+
+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.
+
+Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ sound/usb/mixer_maps.c |    9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+--- a/sound/usb/mixer_maps.c
++++ b/sound/usb/mixer_maps.c
+@@ -304,6 +304,11 @@ static struct usbmix_name_map hercules_u
+       { 0 }                           /* terminator */
+ };
++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
+  */
+@@ -371,6 +376,10 @@ static struct usbmix_ctl_map usbmix_ctl_
+               .map = scratch_live_map,
+               .ignore_ctl_error = 1,
+       },
++      {
++              .id = USB_ID(0x27ac, 0x1000),
++              .map = kef_x300a_map,
++      },
+       { 0 } /* terminator */
+ };
index 68d4dc12577cbcf27b27d204ed9384ba7b331afa..8c1b9bb1b40cab8be70959d7060fb333e72669ff 100644 (file)
@@ -16,3 +16,4 @@ usbnet-remove-generic-hard_header_len-check.patch
 net-sctp-fix-sctp_connectx-abi-for-ia32-emulation-compat-mode.patch
 net-add-and-use-skb_gso_transport_seglen.patch
 net-ip-ipv6-handle-gso-skbs-in-forwarding-path.patch
+alsa-usb-audio-work-around-kef-x300a-firmware-bug.patch