dwc3: gadget: Don't set DWC3_EP_END_TRANSFER_PENDING with GSI endpoint
DWC3_EP_END_TRANSFER_PENDING is used with per endpoint's flag to wait for END xfer command completion. As GSI endpoint related interrupt is not received on APPS processor and being routed to other EE, this flag never get clears once sending END xfer command first time. This results into no END xfer command send with GSI endpoint causing USB controller accessing any active previous stale TRB on setting run/stop bit which results into unmapped access related SMMU page fault. Hence fix this issue by not setting DWC3_EP_END_TRANSFER_PENDING with GSI endpoint. Change-Id: I8e494b571ac2e5ab9a9dae8c6cec1b328f339ca3 Signed-off-by:Mayank Rana <mrana@codeaurora.org> Signed-off-by:
Hemant Kumar <hemantk@codeaurora.org>
Loading
Please register or sign in to comment