]> git.karo-electronics.de Git - linux-beck.git/commitdiff
usb: r8a66597-hcd: fixup USB_PORT_STAT_C_SUSPEND shift
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 7 Jul 2011 09:36:32 +0000 (02:36 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jul 2011 21:57:13 +0000 (14:57 -0700)
This is typo fix of
749da5f8 (USB: straighten out port feature vs. port status usage)

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/r8a66597-hcd.c

index 1ba53f0108484dc277168d2ccb4ffd8886e5f9b9..fd35901861c333fe3fae1cbb9be7a6f9401680c7 100644 (file)
@@ -2306,7 +2306,7 @@ static int r8a66597_bus_resume(struct usb_hcd *hcd)
 
                dbg("resume port = %d", port);
                rh->port &= ~USB_PORT_STAT_SUSPEND;
-               rh->port |= USB_PORT_STAT_C_SUSPEND < 16;
+               rh->port |= USB_PORT_STAT_C_SUSPEND << 16;
                r8a66597_mdfy(r8a66597, RESUME, RESUME | UACT, dvstctr_reg);
                msleep(50);
                r8a66597_mdfy(r8a66597, UACT, RESUME | UACT, dvstctr_reg);