peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

Blame 0150-usb-audio-fix-usb-version.patch

5544c1
From 3f8a570db1637c0e7e2dd7a3bd997c92c69efc65 Mon Sep 17 00:00:00 2001
Hans de Goede c8dfc6
From: Gerd Hoffmann <kraxel@redhat.com>
Hans de Goede c8dfc6
Date: Tue, 28 Aug 2012 16:43:34 +0200
5544c1
Subject: [PATCH] usb-audio: fix usb version
Hans de Goede c8dfc6
Hans de Goede c8dfc6
usb-audio is a full speed (1.1) device,
Hans de Goede c8dfc6
but bcdUSB claims it is usb 2.0.  Fix it.
Hans de Goede c8dfc6
Hans de Goede c8dfc6
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
5544c1
(cherry picked from commit 2bbd086c41a00dc4384727ec895a94890c688eb5)
5544c1
5544c1
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Hans de Goede c8dfc6
---
Hans de Goede c8dfc6
 hw/usb/dev-audio.c | 2 +-
Hans de Goede c8dfc6
 1 file changed, 1 insertion(+), 1 deletion(-)
Hans de Goede c8dfc6
Hans de Goede c8dfc6
diff --git a/hw/usb/dev-audio.c b/hw/usb/dev-audio.c
Hans de Goede c8dfc6
index 79b75fb..2594c78 100644
Hans de Goede c8dfc6
--- a/hw/usb/dev-audio.c
Hans de Goede c8dfc6
+++ b/hw/usb/dev-audio.c
Hans de Goede c8dfc6
@@ -217,7 +217,7 @@ static const USBDescIface desc_iface[] = {
Hans de Goede c8dfc6
 };
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
 static const USBDescDevice desc_device = {
Hans de Goede c8dfc6
-    .bcdUSB                        = 0x0200,
Hans de Goede c8dfc6
+    .bcdUSB                        = 0x0100,
Hans de Goede c8dfc6
     .bMaxPacketSize0               = 64,
Hans de Goede c8dfc6
     .bNumConfigurations            = 1,
Hans de Goede c8dfc6
     .confs = (USBDescConfig[]) {
Hans de Goede c8dfc6
-- 
5544c1
1.7.12.1
Hans de Goede c8dfc6