dwc3-msm: Use dwc->sysdev instead of dwc->dev with DMA APIs

Currently DMA APIs are using usb controller device node (i.e. example
a600000.dwc3) instead of using sysdev which is parent of usb controller
device node (i.e. example a800000.ssusb). IOMMU based page table is
being created with sysdev device. Hence on enabling SMMU stage S1 and
configuraing USB IPA GSI hardware accelerated path, it results into
unmapped page related SMMU fault when USB hardware tries to access USB
GSI event ring. Fix this issue by using dwc->sysdev instead of dwc->dev
while creating USB GSI event ring.

Change-Id: I079a64bd16178ed6bbb39863578c1c8c6ed12884
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
1 file changed