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

Commit 60e00101 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: dwc3: gadget: CSP is only valid for OUT endpoints" into msm-4.9

parents 747443a3 2e37cdde
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -990,6 +990,7 @@ static void dwc3_prepare_one_trb(struct dwc3_ep *dep,
	}

	/* always enable Continue on Short Packet */
	if (usb_endpoint_dir_out(dep->endpoint.desc))
		trb->ctrl |= DWC3_TRB_CTRL_CSP;

	if ((!req->request.no_interrupt && !chain) ||