Skip to content

Commit 35da413

Browse files
morimotogregkh
authored andcommitted
usb: r8a66597-hcd: fixup USB_PORT_STAT_C_SUSPEND shift
This is typo fix of 749da5f (USB: straighten out port feature vs. port status usage) Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 030ed1f commit 35da413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/host/r8a66597-hcd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2306,7 +2306,7 @@ static int r8a66597_bus_resume(struct usb_hcd *hcd)
23062306

23072307
dbg("resume port = %d", port);
23082308
rh->port &= ~USB_PORT_STAT_SUSPEND;
2309-
rh->port |= USB_PORT_STAT_C_SUSPEND < 16;
2309+
rh->port |= USB_PORT_STAT_C_SUSPEND << 16;
23102310
r8a66597_mdfy(r8a66597, RESUME, RESUME | UACT, dvstctr_reg);
23112311
msleep(50);
23122312
r8a66597_mdfy(r8a66597, UACT, RESUME | UACT, dvstctr_reg);

0 commit comments

Comments
 (0)