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

Commit ac776d1a authored by Mayank Rana's avatar Mayank Rana
Browse files

dwc3-msm: Fix DEPCMD register value for GSI endpoint



This change fixes DEPCMD register value provided to IPA driver
for GSI endpoint configuration.

Change-Id: I6119412611217208254d53fda59c0bab31760af3
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 13ce0881
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -808,7 +808,8 @@ static void gsi_get_channel_info(struct usb_ep *ep,

	/* Provide physical USB addresses for DEPCMD and GEVENTCNT registers */
	ch_info->depcmd_low_addr = (u32)(dwc->reg_phys +
						DWC3_DEPCMD);
				DWC3_DEP_BASE(dep->number) + DWC3_DEPCMD);

	ch_info->depcmd_hi_addr = 0;

	ch_info->xfer_ring_base_addr = dwc3_trb_dma_offset(dep,