Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932941AbcKBWEr (ORCPT ); Wed, 2 Nov 2016 18:04:47 -0400 Received: from mail-db5eur01on0071.outbound.protection.outlook.com ([104.47.2.71]:41585 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757414AbcKBWEn (ORCPT ); Wed, 2 Nov 2016 18:04:43 -0400 X-Greylist: delayed 43519 seconds by postgrey-1.27 at vger.kernel.org; Wed, 02 Nov 2016 18:04:42 EDT From: Sriram Dash To: Sriram Dash , "linux-kernel@vger.kernel.org" , "linux-usb@vger.kernel.org" CC: "mathias.nyman@intel.com" , "gregkh@linuxfoundation.org" , Suresh Gupta , "felipe.balbi@linux.intel.com" , "stern@rowland.harvard.edu" , "pku.leo@gmail.com" , "Arnd Bergmann" Subject: RE: [PATCH v2 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration Thread-Topic: [PATCH v2 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration Thread-Index: AQHSNMtgTrqyrnC9WUik4NULYhVxtKDFbKbA Date: Wed, 2 Nov 2016 09:26:51 +0000 Message-ID: References: <1478065093-6923-1-git-send-email-sriram.dash@nxp.com> <1478065093-6923-4-git-send-email-sriram.dash@nxp.com> In-Reply-To: <1478065093-6923-4-git-send-email-sriram.dash@nxp.com> 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-ms-office365-filtering-correlation-id: a47d9d23-3b32-490e-3f54-08d403026101 x-microsoft-exchange-diagnostics: 1;DB5PR0401MB1928;7:QgXEFxbbGz0jJkBkFbd7+2rNMEy9Kn4xLVTAPOpHyI6ePf14gdgVr6VcdFD19Zd5Q4kUZeBOlHBMkotnL2N3+qou7jM8Zmj+ZW/xVhhMfcfkzl18MJSD9pkcrasxyidRa0vAN5IWGjOSIzSq7m5dDcwyplTMT7mLjULzWprBoJkZJUnoUzma4Vszk4lIrsY+nAw+jwsAvO8ihb+VW+iSrFiAZM5hJPvhzpNdeq9G7kIIhmaHvnlkesz6LKIEAnIO6juGqORCbIYl3LfrRymOKxrCeyg0VUSy3yN/9HYo49g99oX7HB/UKWWuD01dKKtf0Fj2FxJv5jQrBW+LLPiOxg6Xx4GwrYC6pUrZh0J+f/8= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR0401MB1928; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040176)(6045074)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6046074)(6072074);SRVR:DB5PR0401MB1928;BCL:0;PCL:0;RULEID:;SRVR:DB5PR0401MB1928; x-forefront-prvs: 0114FF88F6 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(7916002)(189002)(199003)(92566002)(5001770100001)(2501003)(102836003)(3846002)(19580395003)(5002640100001)(586003)(6116002)(66066001)(3280700002)(68736007)(8936002)(11100500001)(77096005)(4326007)(97736004)(2900100001)(3660700001)(189998001)(19580405001)(8676002)(81156014)(86362001)(2201001)(81166006)(87936001)(305945005)(54356999)(106356001)(7846002)(50986999)(76176999)(101416001)(5660300001)(7736002)(76576001)(9686002)(10400500002)(122556002)(2950100002)(7696004)(105586002)(33656002)(106116001)(74316002)(2906002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB5PR0401MB1928;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="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2016 09:26:51.6050 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR0401MB1928 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 quoted-printable to 8bit by mail.home.local id uA2M6Qt4011690 Content-Length: 989 Lines: 36 >From: Sriram Dash [mailto:sriram.dash@nxp.com] >From: Arnd Bergmann > >For the dual role ehci fsl driver, sysdev will handle the dma config. > >Signed-off-by: Arnd Bergmann >Signed-off-by: Sriram Dash >--- >Changes in v2: > - fix compile warnings > > > drivers/usb/host/ehci-fsl.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index >9f5ffb6..4dde500 100644 >--- a/drivers/usb/host/ehci-fsl.c >+++ b/drivers/usb/host/ehci-fsl.c >@@ -96,8 +96,8 @@ static int fsl_ehci_drv_probe(struct platform_device *pdev) > } > irq = res->start; > >- hcd = usb_create_hcd(&fsl_ehci_hc_driver, &pdev->dev, >- dev_name(&pdev->dev)); >+ hcd = __usb_create_hcd(&fsl_ehci_hc_driver, &pdev->dev->parent, Will correct it to "pdev->dev.parent". >+ &pdev->dev, dev_name(&pdev->dev), NULL); > if (!hcd) { > retval = -ENOMEM; > goto err1; >-- >2.1.0