usb: r8a66597-hcd: fixup USB_PORT_STAT_C_SUSPEND shift
[linux-2.6.git] / drivers / usb / host / r8a66597-hcd.c
index 1ba53f0..fd35901 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);