From: Vikram Pandita Date: Fri, 23 Mar 2007 13:54:46 +0000 (-0400) Subject: musb_hdrc: Fix host side remote wakeup X-Git-Tag: v2.6.21-omap1~75 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fceaff4d5f21a8220c8abb2c5e2875125e94e571;p=linux-2.6-omap-h63xx.git musb_hdrc: Fix host side remote wakeup An incorrect bit was being set in the hub status mask during host side remote wakeup scenarios. Signed-off-by: David Brownell --- diff --git a/drivers/usb/musb/plat_uds.c b/drivers/usb/musb/plat_uds.c index 152c9797d08..891512353fb 100644 --- a/drivers/usb/musb/plat_uds.c +++ b/drivers/usb/musb/plat_uds.c @@ -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);