Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932860AbcKJMd4 (ORCPT ); Thu, 10 Nov 2016 07:33:56 -0500 Received: from mail-yw0-f175.google.com ([209.85.161.175]:32870 "EHLO mail-yw0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932254AbcKJMdy (ORCPT ); Thu, 10 Nov 2016 07:33:54 -0500 MIME-Version: 1.0 In-Reply-To: <1478766001-26463-6-git-send-email-sriram.dash@nxp.com> References: <1478766001-26463-1-git-send-email-sriram.dash@nxp.com> <1478766001-26463-6-git-send-email-sriram.dash@nxp.com> From: Baolin Wang Date: Thu, 10 Nov 2016 20:33:52 +0800 Message-ID: Subject: Re: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration To: Sriram Dash Cc: LKML , USB , mathias.nyman@intel.com, Greg KH , suresh.gupta@nxp.com, Felipe Balbi , Alan Stern , pku.leo@gmail.com, Arnd Bergmann Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1032 Lines: 33 Hi, On 10 November 2016 at 16:20, Sriram Dash wrote: > From: Arnd Bergmann > > 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 > Signed-off-by: Sriram Dash > --- > 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 Best Regards