Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1518948

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

From Baolin Wang <baolin.wang@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration
Date 2016-11-10 13:40 +0100
Message-ID <sBWO5-6e8-25@gated-at.bofh.it> (permalink)
References <sBVp1-5n4-57@gated-at.bofh.it> <sBVp1-5n4-59@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On 10 November 2016 at 16:20, Sriram Dash <sriram.dash@nxp.com> wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> 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@arndb.de>
> Signed-off-by: Sriram Dash <sriram.dash@nxp.com>
> ---
> 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@linaro.org>

-- 
Baolin.wang
Best Regards

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration Baolin Wang <baolin.wang@linaro.org> - 2016-11-10 13:40 +0100
  RE: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration Sriram Dash <sriram.dash@nxp.com> - 2016-11-11 13:20 +0100

csiph-web