Re: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration

From: Baolin Wang
Date: Thu Nov 10 2016 - 07:33:58 EST


Hi,

On 10 November 2016 at 16:20, Sriram Dash <sriram.dash@xxxxxxx> wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> The dma ops for dwc3 devices are not set properly. So, use a
> physical device sysdev, which will be inherited from parent,
> to set the hardware / firmware parameters like dma.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> Signed-off-by: Sriram Dash <sriram.dash@xxxxxxx>
> ---
> Changes in v3:
> - No update
>
> Changes in v2:
> - integrate dwc3 driver changes together
>
> drivers/usb/dwc3/core.c | 28 +++++++++++++++-------------
> drivers/usb/dwc3/core.h | 1 +
> drivers/usb/dwc3/ep0.c | 8 ++++----
> drivers/usb/dwc3/gadget.c | 37 +++++++++++++++++++------------------
> drivers/usb/dwc3/host.c | 12 ++++--------
> 5 files changed, 43 insertions(+), 43 deletions(-)
>

Tested on my dwc3 platform, it can work well as host or gadget. You
can add my tested tag for patch 1/4/5 after fixing Felipe's issue.
Tested-by: Baolin Wang <baolin.wang@xxxxxxxxxx>

--
Baolin.wang
Best Regards