diff options
author | Hemant Kumar <hemantk@codeaurora.org> | 2016-04-14 13:04:01 -0700 |
---|---|---|
committer | Jeevan Shriram <jshriram@codeaurora.org> | 2016-04-22 15:04:18 -0700 |
commit | 99e000989b409c6183ec8f012c019c5c499aab8a (patch) | |
tree | effbfac998d0c2b52385268beb8b411822ca3de0 /drivers/esoc | |
parent | 599b6b32a0681200ad943c13eeee98f0f1829ff4 (diff) |
usb: gadget: f_gsi: Allocate dma memory using gadget device's parent device
Use "gadget->dev.parent" instead of "&gadget->dev" in the first argument
of dma_zalloc_coherent() because the parent has a udc controller's device
pointer. Otherwise, iommu functions are not called in ARM environment and
allocation is failing.
CRs-Fixed: 1003784
Change-Id: I2ea75b533f857189856840e437a96891eea5699c
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'drivers/esoc')
0 files changed, 0 insertions, 0 deletions