musb_hdrc: Fix host side remote wakeup
authorVikram Pandita <vikram.pandita@ti.com>
Fri, 23 Mar 2007 13:54:46 +0000 (09:54 -0400)
committerTony Lindgren <tony@atomide.com>
Fri, 23 Mar 2007 13:54:46 +0000 (09:54 -0400)
An incorrect bit was being set in the hub status mask during
host side remote wakeup scenarios.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
drivers/usb/musb/plat_uds.c

index 152c979..8915123 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);