Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35da4137 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Greg Kroah-Hartman
Browse files

usb: r8a66597-hcd: fixup USB_PORT_STAT_C_SUSPEND shift



This is typo fix of
749da5f8 (USB: straighten out port feature vs. port status usage)

Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 030ed1fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);