Re: [PATCH] usb: dwc3: Initialize DMA ops/mask for xhci-hcd
From: Adam Wallis
Date: Mon Aug 28 2017 - 11:29:33 EST
On 8/28/2017 9:05 AM, Felipe Balbi wrote:
>
> Hi,
>
> Adam Wallis <awallis@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>
>
> 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.