]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/musb/plat_uds.c
musb_hdrc: Fix host side remote wakeup
[linux-2.6-omap-h63xx.git] / drivers / usb / musb / plat_uds.c
index 152c9797d0897412dabbb16f8dca09411bd0a4e2..891512353fb6c7c68bf43fec0694e87e6761675f 100644 (file)
@@ -330,8 +330,8 @@ static irqreturn_t musb_stage0_irq(struct musb * pThis, u8 bIntrUSB,
                                                power | MGC_M_POWER_RESUME);
 
                                        pThis->port1_status |=
-                                                 MUSB_PORT_STAT_RESUME
-                                               | USB_PORT_STAT_C_SUSPEND;
+                                               (USB_PORT_STAT_C_SUSPEND << 16)
+                                               | MUSB_PORT_STAT_RESUME;
                                        pThis->rh_timer = jiffies
                                                + msecs_to_jiffies(20);