Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755249AbcKBFir (ORCPT ); Wed, 2 Nov 2016 01:38:47 -0400 Received: from mail-bn3nam01on0054.outbound.protection.outlook.com ([104.47.33.54]:16160 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752218AbcKBFin (ORCPT ); Wed, 2 Nov 2016 01:38:43 -0400 Authentication-Results: spf=none (sender IP is 192.88.158.2) smtp.mailfrom=lvd5587.freescale.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=nxp.com; From: Sriram Dash To: , CC: , , , , , , Arnd Bergmann , Sriram Dash Subject: [PATCH v2 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration Date: Wed, 2 Nov 2016 11:08:10 +0530 Message-ID: <1478065093-6923-4-git-send-email-sriram.dash@nxp.com> X-Mailer: git-send-email 1.7.7.4 In-Reply-To: <1478065093-6923-1-git-send-email-sriram.dash@nxp.com> References: <1478065093-6923-1-git-send-email-sriram.dash@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131225387213940288;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.158.2;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6039001)(6009001)(7916002)(2980300002)(428002)(189002)(199003)(356003)(8936002)(8676002)(50466002)(586003)(45336002)(105586002)(36756003)(48376002)(42186005)(19580395003)(189998001)(33646002)(229853001)(19580405001)(106466001)(68736007)(4326007)(103686003)(2906002)(50986999)(46386002)(76176999)(11100500001)(101416001)(47776003)(50226002)(69596002)(92566002)(52956003)(5001770100001)(97736004)(86372001)(81166006)(7846002)(81156014)(5003940100001)(305945005)(87936001)(7416002)(42882006)(8666005)(6666003)(4720700003)(5660300001)(626004)(2950100002)(90966002)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0301MB1627;H:az84smr01.freescale.net;FPR:;SPF:None;PTR:InfoDomainNonexistent;MX:1;A:0;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11OLC004;1:Pk3FFWLdCSV8Ds9joQWFmHXuoV/ML+TXLi37NRWh4khdl7JH82EMkJX9qmEhKBHSm4WabOpandvdw3QwqBZpqhUFX3gXeuG3CklNvmM+CaiDl1GPkDFpPTepRZl+ULpf69UAQ/l0p1cgWsI1QLnTB70MzTI+HNSx8MCk0RHzHaOjTyZ5XQCQ+ig7ZhjOpFzkVBq3PkzJj1ZCgZzD6l+c9HsyyJR4dngeKfbpNqvjgy599Ep4G2v90mXxuAzn/F3sZUigGlVb/vdNmU8O+f2IeQJfFlTsikIb3y7C9lVOw27KJY1xOyeBcLioY+vxgFocWv46M/+MXMyJp5IbOT+jgTd/cAPMhZ5VPS32bqGQHQ4KPti+vAj3R/V37JjISHqy6Q1ShSNjN3HVCwEPqJnI5AnfnrYRBddP5OwE/kW3gtqj0rDmDJjK61E6n+Zc/WBCIrgUj+LDY+UeocYj6u65nDVeHbSneOVjWYXcH1Rub+u6umTY28Hm/PWMX4z1nPN1cWHDDSYis19TJlXOWVa1qd4TqjvYXgjqdoz5ErLHJRvlKdiHcsYQWCHxSUf3PwPq6JMtLprhjMKkCPmh70azLNZZtwKHmFHU/fHC7ZLo1wnmy8Fg9mEL8zikTf4VhLFF4ucCLYKGjEKS0dlBdptd1Q== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: ba92f6a8-93a7-46f7-04e3-08d402e280db X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB1627;2:wnV1VElA6XK9I9n9AvdExdwdg4KWI4rPt4O6JDn3jRUcxNRpe1H8eM7WIezMtQ9FBGRtVUsEr7y+gAZcGDYnsfzBfPCj9NPfeVzX5PTEyn0KAtyZTpYZcVU4W5tKWNAAD2feL5oSqtZ0BmdjpE7UDkJNOoZWoGmcu7WfMzj3QV7FIV2sAmEefQs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FmYuFl7N604wgq01fFMdQdBlCyE7i+oo0tlPh+RS0A0cTkL8cmIxNzj2j04A/PYCtktJCg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(13023025)(13017025)(13018025)(5005006)(13024025)(8121501046)(13015025)(3002001)(10201501046)(6055026);SRVR:CY1PR0301MB1627;BCL:0;PCL:0;RULEID:(400006);SRVR:CY1PR0301MB1627; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB1627;4:+gTctHacKSZhUHiL14upu9eZx0Gk4vrfCZlL0U43Iach+xoKiFzEJrMjpV0lGcWNGeuR7hbJJUyEUthcnWnBwk4GK24c5HfaFP0iGN67CvIIHgLdfDtJ98furbMfAtNpupGt6pzsQqJ5KJbL2a59w1ITOuUlFBHPiLcPa57jESM9WEq/f++G3MVzISw2sqUzwazwJa9OH8oZ0d2iVdw/pLujwecdWLCvK6hu0WFt6ZP5PgaZ4yKJA0bctQ4dv5hYVzJDiCe+0x8s/+7BMqlUZgQL9ZvQekvnZ4QzSOBVagy2/EficKUOJUAIsvNdET1wVVOEkhGl3Z1UMnIGJPpM5DYjauf8lPPq/y7WQUsrmX6TFMZzJ/bGzxdPZYQMvrPBFPKlvZ1Fm/6vt/qZ1D5kwv7+lJH08wSSAuaTZLomcV7wai442sk4PHhoPFxqNhI1aXwuG0xEbYWBb+gYO96kQgC11tMU/pw3cuzZ+RH1RhfIzrBP9XGiQADpqn/hRoCyqhWTrl+NnYbSh3eKKt0Qu4/4R6zk6v+yz0RPuaUZ1lmL2il0pi9Hgqn6SlYs8qT8 X-Forefront-PRVS: 0114FF88F6 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0301MB1627;23:v7oq15pldmN9Hes9+4dT5RH6eqKpQK3q+tCecaW?= =?us-ascii?Q?TuhuvMP+WYq7BWFg/gNcDAOL1gL6DMdmNUr5C34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NscZl1yD5IMb3XdWZ04JDw1RbIn1ogCU4hZo+DDqDOTvPJvKB7Pyu+PSPKjS+QQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB1627;7:o6fE8xYQuc0j0ymaieC0ym1NJE2q8A4tq2e3ivyw5QlUSo/mmBIAOUB4CpuYWE59V0Hcivrdpk/btoKfHtZdZyzMJTgi5zDg9O+mcWn05wUaVQWQf/QElwd3+JRh//+TRZ1GiDlqYMlIurQ1jb77ExS4gCvhOk3q8n1rGC0T/fjJpO6SVhXsbrawjc25wT/PCnPcfFteTkp0Bfu5/iv8bKw0rxIVWShuT2ZF/FZMC9B5X4acHduH7I+wkY73e7stSalbO+5YcfffwWtQVJUtll5Ikw2w9IqBdoiEmS7fEeWBcYMYbi9JI64B97xMhM54It8C/olFz0QL0tg+CPKZrWfsj1Sf5MsXy50/Ctu/H1w= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2016 05:38:41.0820 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.158.2];Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB1627 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 870 Lines: 32 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, + &pdev->dev, dev_name(&pdev->dev), NULL); if (!hcd) { retval = -ENOMEM; goto err1; -- 2.1.0