Skip to content
Commit 0e4c4433 authored by Mayank Rana's avatar Mayank Rana
Browse files

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: default avatarMayank Rana <mrana@codeaurora.org>
parent 0364b310
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment