aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/dwc3/ep0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c
index 83fcf392dda7..3185fe14591b 100644
--- a/drivers/usb/dwc3/ep0.c
+++ b/drivers/usb/dwc3/ep0.c
@@ -515,8 +515,8 @@ static void dwc3_ep0_set_sel_cmpl(struct usb_ep *ep, struct usb_request *req)
515 515
516 dwc->u1sel = timing.u1sel; 516 dwc->u1sel = timing.u1sel;
517 dwc->u1pel = timing.u1pel; 517 dwc->u1pel = timing.u1pel;
518 dwc->u2sel = timing.u2sel; 518 dwc->u2sel = le16_to_cpu(timing.u2sel);
519 dwc->u2pel = timing.u2pel; 519 dwc->u2pel = le16_to_cpu(timing.u2pel);
520 520
521 reg = dwc3_readl(dwc->regs, DWC3_DCTL); 521 reg = dwc3_readl(dwc->regs, DWC3_DCTL);
522 if (reg & DWC3_DCTL_INITU2ENA) 522 if (reg & DWC3_DCTL_INITU2ENA)