Patchwork [38/60] xhci: fix usb name in caps

login
register
mail settings
Submitter Michael Tokarev
Date Feb. 4, 2013, 10:40 a.m.
Message ID <1359974470-17044-39-git-send-email-mjt@msgid.tls.msk.ru>
Download mbox | patch
Permalink /patch/218036/
State New
Headers show

Comments

Michael Tokarev - Feb. 4, 2013, 10:40 a.m.
From: Gerd Hoffmann <kraxel@redhat.com>

Used to be "UTB" not "USB".

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 0ebfb144e8ad3f2da436d630fdcc5aa9ab646341)
---
 hw/usb/hcd-xhci.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
index 5cf1a64..10be478 100644
--- a/hw/usb/hcd-xhci.c
+++ b/hw/usb/hcd-xhci.c
@@ -2372,7 +2372,7 @@  static uint32_t xhci_cap_read(XHCIState *xhci, uint32_t reg)
         return 0x02000002; /* USB 2.0 */
 #endif
     case 0x24: /* Supported Protocol:04 */
-        return 0x20425455; /* "USB " */
+        return 0x20425355; /* "USB " */
     case 0x28: /* Supported Protocol:08 */
         return 0x00000001 | (USB2_PORTS<<8);
     case 0x2c: /* Supported Protocol:0c */
@@ -2381,7 +2381,7 @@  static uint32_t xhci_cap_read(XHCIState *xhci, uint32_t reg)
     case 0x30: /* Supported Protocol:00 */
         return 0x03000002; /* USB 3.0 */
     case 0x34: /* Supported Protocol:04 */
-        return 0x20425455; /* "USB " */
+        return 0x20425355; /* "USB " */
     case 0x38: /* Supported Protocol:08 */
         return 0x00000000 | (USB2_PORTS+1) | (USB3_PORTS<<8);
     case 0x3c: /* Supported Protocol:0c */