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

usb: f_gsi: Use gadget->dev.parent->parent instead of gadget->dev.parent



Currently TRB buffer is allocated using gadget->dev.parent node
(e.g a600000.dwc3) instead of device node (e.g a600000.ssusb)
which is used to create IOMMU based context bank. Hence use
gadget->dev.parent->parent to allocate buffer to avoid unmapped
SMMU page fault while enabling USB SMMU stage S1 functionality.

Change-Id: I6bf9510c7bf6d1daf62e117e2470ed9dc6f7e038
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 0098feef
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