Home Home > GIT Browse > SLE15
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-07-16 15:04:58 +0200
committerTakashi Iwai <tiwai@suse.de>2019-07-16 15:04:58 +0200
commit386559770a8db71c3c933e2fa342f7b82368beda (patch)
tree63fae3e1450c0ad7bd4c7dc87179f2a5a8c8d373
parent17e0ddf73ea48d5a7318dfcbeb5417376437981d (diff)
ALSA: usb-audio: Enable .product_name override for Emagic,
Unitor 8 (bsc#1051510).
-rw-r--r--patches.drivers/ALSA-usb-audio-Enable-.product_name-override-for-Ema.patch40
-rw-r--r--series.conf1
2 files changed, 41 insertions, 0 deletions
diff --git a/patches.drivers/ALSA-usb-audio-Enable-.product_name-override-for-Ema.patch b/patches.drivers/ALSA-usb-audio-Enable-.product_name-override-for-Ema.patch
new file mode 100644
index 0000000000..fee7e3ff0b
--- /dev/null
+++ b/patches.drivers/ALSA-usb-audio-Enable-.product_name-override-for-Ema.patch
@@ -0,0 +1,40 @@
+From 861bee5adc8be511a93e949a338d35974fbdf10b Mon Sep 17 00:00:00 2001
+From: Stefan Sauer <ensonic@google.com>
+Date: Mon, 10 Jun 2019 11:51:46 +0200
+Subject: [PATCH] ALSA: usb-audio: Enable .product_name override for Emagic, Unitor 8.
+Git-commit: 861bee5adc8be511a93e949a338d35974fbdf10b
+Patch-mainline: v5.3-rc1
+References: bsc#1051510
+
+The Emagic Unitor 8 does not provide iManufacturer and iProduct fields
+in its device descriptor. These fields are used by alsa to make build the
+device name. Thus uncomment the .product-name in the quirks-table.
+
+Without this change the device shows up as 'USB Device 0x86a:0x01'.
+
+Output of lsusb and amidi:
+https://gist.github.com/ensonic/7820a102e91f31575be355da2b6b33bc
+
+Signed-off-by: Stefan Sauer <ensonic@google.com>
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+
+---
+ sound/usb/quirks-table.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
+index 5600143ff660..5fd748c4eb30 100644
+--- a/sound/usb/quirks-table.h
++++ b/sound/usb/quirks-table.h
+@@ -2422,7 +2422,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
+ USB_DEVICE(0x086a, 0x0001),
+ .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+ .vendor_name = "Emagic",
+- /* .product_name = "Unitor8", */
++ .product_name = "Unitor8",
+ .ifnum = 2,
+ .type = QUIRK_MIDI_EMAGIC,
+ .data = & (const struct snd_usb_midi_endpoint_info) {
+--
+2.16.4
+
diff --git a/series.conf b/series.conf
index 289f9c508e..41e3d90a7d 100644
--- a/series.conf
+++ b/series.conf
@@ -22844,6 +22844,7 @@
patches.drivers/media-vivid-fix-incorrect-assignment-operation-when-.patch
patches.drivers/media-s5p-mfc-Make-additional-clocks-optional.patch
patches.drivers/media-v4l2-Test-type-instead-of-cfg-type-in-v4l2_ctr.patch
+ patches.drivers/ALSA-usb-audio-Enable-.product_name-override-for-Ema.patch
patches.drivers/ALSA-hda-realtek-Headphone-Mic-can-t-record-after-S3.patch
patches.drivers/ASoC-add-support-for-Conexant-CX2072X-CODEC
patches.drivers/ASoC-Intel-Add-machine-driver-for-Cherrytrail-CX2072