]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
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 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);