Skip to content

Commit

Permalink
usb: r8a66597-hcd: fixup USB_PORT_STAT_C_SUSPEND shift
Browse files Browse the repository at this point in the history
This is typo fix of
749da5f (USB: straighten out port feature vs. port status usage)

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Kuninori Morimoto authored and Greg Kroah-Hartman committed Jul 8, 2011
1 parent 030ed1f commit 35da413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/host/r8a66597-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2306,7 +2306,7 @@ static int r8a66597_bus_resume(struct usb_hcd *hcd)

dbg("resume port = %d", port);
rh->port &= ~USB_PORT_STAT_SUSPEND;
rh->port |= USB_PORT_STAT_C_SUSPEND < 16;
rh->port |= USB_PORT_STAT_C_SUSPEND << 16;
r8a66597_mdfy(r8a66597, RESUME, RESUME | UACT, dvstctr_reg);
msleep(50);
r8a66597_mdfy(r8a66597, UACT, RESUME | UACT, dvstctr_reg);
Expand Down

0 comments on commit 35da413

Please sign in to comment.