Home Home > GIT Browse > SLE15-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-10-19 08:45:58 +0200
committerTakashi Iwai <tiwai@suse.de>2019-10-19 08:47:15 +0200
commit4c23b832e3a4c2839343cc16ee86e457951391d3 (patch)
tree10089a532f8624eb09581b304bcd9279d8b7e196
parent8ec4104d18f2883eed4a2375ed0f600c4ca337f6 (diff)
ALSA: usb-audio: Disable quirks for BOSS Katana amplifiers
(bsc#1051510).
-rw-r--r--patches.suse/ALSA-usb-audio-Disable-quirks-for-BOSS-Katana-amplif.patch41
-rw-r--r--series.conf1
2 files changed, 42 insertions, 0 deletions
diff --git a/patches.suse/ALSA-usb-audio-Disable-quirks-for-BOSS-Katana-amplif.patch b/patches.suse/ALSA-usb-audio-Disable-quirks-for-BOSS-Katana-amplif.patch
new file mode 100644
index 0000000000..34df5f8a82
--- /dev/null
+++ b/patches.suse/ALSA-usb-audio-Disable-quirks-for-BOSS-Katana-amplif.patch
@@ -0,0 +1,41 @@
+From 7571b6a17fcc5e4f6903f065a82d0e38011346ed Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Szabolcs=20Sz=C5=91ke?= <szszoke.code@gmail.com>
+Date: Fri, 11 Oct 2019 19:19:36 +0200
+Subject: [PATCH] ALSA: usb-audio: Disable quirks for BOSS Katana amplifiers
+Mime-version: 1.0
+Content-type: text/plain; charset=UTF-8
+Content-transfer-encoding: 8bit
+Git-commit: 7571b6a17fcc5e4f6903f065a82d0e38011346ed
+Patch-mainline: v5.4-rc4
+References: bsc#1051510
+
+BOSS Katana amplifiers cannot be used for recording or playback if quirks
+are applied
+
+Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=195223
+Signed-off-by: Szabolcs Szőke <szszoke.code@gmail.com>
+Cc: <stable@vger.kernel.org>
+Link: https://lore.kernel.org/r/20191011171937.8013-1-szszoke.code@gmail.com
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+
+---
+ sound/usb/pcm.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c
+index 33cd26763c0e..ff5ab24f3bd1 100644
+--- a/sound/usb/pcm.c
++++ b/sound/usb/pcm.c
+@@ -348,6 +348,9 @@ static int set_sync_ep_implicit_fb_quirk(struct snd_usb_substream *subs,
+ ep = 0x84;
+ ifnum = 0;
+ goto add_sync_ep_from_ifnum;
++ case USB_ID(0x0582, 0x01d8): /* BOSS Katana */
++ /* BOSS Katana amplifiers do not need quirks */
++ return 0;
+ }
+
+ if (attr == USB_ENDPOINT_SYNC_ASYNC &&
+--
+2.16.4
+
diff --git a/series.conf b/series.conf
index dedc0830ef..6ce645aa48 100644
--- a/series.conf
+++ b/series.conf
@@ -24829,6 +24829,7 @@
patches.suse/tracing-Initialize-iter-seq-after-zeroing-in-tracing.patch
patches.suse/firmware-dmi-fix-unlikely-out-of-bounds-read.patch
patches.suse/ALSA-hda-realtek-Reduce-the-Headphone-static-noise-o.patch
+ patches.suse/ALSA-usb-audio-Disable-quirks-for-BOSS-Katana-amplif.patch
# davem/net
patches.suse/net-ibmvnic-Fix-EOI-when-running-in-XIVE-mode.patch