From fceaff4d5f21a8220c8abb2c5e2875125e94e571 Mon Sep 17 00:00:00 2001 From: Vikram Pandita Date: Fri, 23 Mar 2007 09:54:46 -0400 Subject: [PATCH] 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 --- drivers/usb/musb/plat_uds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.41.1