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

Commit 501058ed authored by John Youn's avatar John Youn Committed by Felipe Balbi
Browse files

usb: dwc3: ep0: Use the correct type for SET_SEL data



u2sel and u2pel should be __le16. Doesn't fix any issue.

Found with sparse.

Signed-off-by: default avatarJohn Youn <johnyoun@synopsys.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 958b9fa7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -619,8 +619,8 @@ static void dwc3_ep0_set_sel_cmpl(struct usb_ep *ep, struct usb_request *req)
	struct timing {
		u8	u1sel;
		u8	u1pel;
		u16	u2sel;
		u16	u2pel;
		__le16	u2sel;
		__le16	u2pel;
	} __packed timing;

	int		ret;