[PATCH] usb: dwc3: Initialize DMA ops/mask for xhci-hcd

Adam Wallis awallis at codeaurora.org
Mon Aug 28 08:29:23 PDT 2017


On 8/28/2017 9:05 AM, Felipe Balbi wrote:
> 
> Hi,
> 
> Adam Wallis <awallis at codeaurora.org> writes:
>> The dma ops from the parent DWC device are not getting passed to the
>> child xhci-hcd device. This patch makes use of
>> platform_device_register_full to set the DMA ops. For the DT/OF case,
>> dma_ops were still null after the the device register, so
>> of_dma_configure is called in only the OF case.
>>
>> Signed-off-by: Adam Wallis <awallis at codeaurora.org>
> 
> you need to sysdev property, IMO.
> 
Thanks, good suggestion. I will test that out.

-- 
Adam Wallis
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.



More information about the linux-arm-kernel mailing list