Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756389AbcKKMQh (ORCPT ); Fri, 11 Nov 2016 07:16:37 -0500 Received: from mail-db5eur01on0063.outbound.protection.outlook.com ([104.47.2.63]:48384 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752395AbcKKMQf (ORCPT ); Fri, 11 Nov 2016 07:16:35 -0500 From: Sriram Dash To: Baolin Wang CC: LKML , USB , "mathias.nyman@intel.com" , Greg KH , Suresh Gupta , "Felipe Balbi" , Alan Stern , "pku.leo@gmail.com" , "Arnd Bergmann" Subject: RE: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration Thread-Topic: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration Thread-Index: AQHSOyuYgUZA43dYKEumlkcpOtoRj6DSJwsAgAFzYrA= Date: Fri, 11 Nov 2016 10:43:54 +0000 Message-ID: References: <1478766001-26463-1-git-send-email-sriram.dash@nxp.com> <1478766001-26463-6-git-send-email-sriram.dash@nxp.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=sriram.dash@nxp.com; x-originating-ip: [192.88.169.1] x-microsoft-exchange-diagnostics: 1;DB5PR04MB1351;7:w3z37wS2tQM3oqOkVdZYTMD1dAswEKGCVOqTLoMLGPjccK4OwDDMSXBE6HlUXzI/IFixnlFKNFR4yr7FJ9JzpYBAKGwvUH/ROE335F/mm/QrzTN9XxCXP24+8JkVlWvuE6EuXKm0WKCZhDaGt/KQaug3od3l/VXPqsGKI+K0FlwmQcotWCvC9cIHdsgkzpNw3W0cw6T1TQMZoEGxlelhmvCC233fJgCWycoOWSSSZMEvoVR2z0U8gXPlLDiBBp75/MqWPlZfHdW9HepjxBcjhMWxx632skZHfgdta1JPCaFQqyyJJ7Y/i7otMN0X2+hYVeUHI9uCKbSMTy9z/EFL8DBpHmAxNtjrFKdZmHGLy8Y= x-ms-office365-filtering-correlation-id: cb6e09a2-a8b5-4dda-abb7-08d40a1fa1e4 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DB5PR04MB1351; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6060229)(6045074)(6040176)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(6046074)(6061226);SRVR:DB5PR04MB1351;BCL:0;PCL:0;RULEID:;SRVR:DB5PR04MB1351; x-forefront-prvs: 012349AD1C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(7916002)(24454002)(189002)(199003)(122556002)(92566002)(77096005)(97736004)(76176999)(2900100001)(101416001)(66066001)(189998001)(50986999)(54356999)(87936001)(9686002)(68736007)(8936002)(105586002)(106116001)(3280700002)(33656002)(2950100002)(6916009)(106356001)(6116002)(4326007)(102836003)(86362001)(3660700001)(110136003)(7846002)(7736002)(81156014)(7696004)(5660300001)(2906002)(74316002)(305945005)(81166006)(76576001)(3846002)(586003)(8676002)(229853002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB5PR04MB1351;H:DB5PR0401MB1925.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Nov 2016 10:43:54.1003 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR04MB1351 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id uABCGgm3030097 Content-Length: 1134 Lines: 38 >From: Baolin Wang [mailto:baolin.wang@linaro.org] > >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 > Thanks Baolin. >-- >Baolin.wang >Best Regards