mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:11:14 -04:00
Merge "dwc3: gadget: Don't perform SET XFER resource with USB GSI endpoint"
This commit is contained in:
commit
bf2fe2b10e
1 changed files with 5 additions and 1 deletions
|
|
@ -621,7 +621,11 @@ static int dwc3_gadget_start_config(struct dwc3_ep *dep)
|
|||
for (i = 0; i < DWC3_ENDPOINTS_NUM; i++) {
|
||||
struct dwc3_ep *dep = dwc->eps[i];
|
||||
|
||||
if (!dep)
|
||||
/*
|
||||
* Don't set xfer resource with USB GSI endpoint as it is
|
||||
* performed before enabling USB GSI endpoint.
|
||||
*/
|
||||
if (!dep || dep->gsi)
|
||||
continue;
|
||||
|
||||
ret = dwc3_gadget_set_xfer_resource(dep);
|
||||
|
|
|
|||
Loading…
Reference in a new issue