Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754627AbcKJIWy (ORCPT ); Thu, 10 Nov 2016 03:22:54 -0500 Received: from mail-sn1nam02on0068.outbound.protection.outlook.com ([104.47.36.68]:46996 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754305AbcKJIWh (ORCPT ); Thu, 10 Nov 2016 03:22:37 -0500 Authentication-Results: spf=none (sender IP is 192.88.168.50) 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; X-IncomingTopHeaderMarker: OriginalChecksum:;UpperCasedChecksum:;SizeAsReceived:1027;Count:11 From: Sriram Dash To: , CC: , , , , , , Arnd Bergmann , Sriram Dash Subject: [PATCH v3 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration Date: Thu, 10 Nov 2016 13:49:58 +0530 Message-ID: <1478766001-26463-4-git-send-email-sriram.dash@nxp.com> X-Mailer: git-send-email 1.7.7.4 In-Reply-To: <1478766001-26463-1-git-send-email-sriram.dash@nxp.com> References: <1478766001-26463-1-git-send-email-sriram.dash@nxp.com> X-IncomingHeaderCount: 11 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131232397544817061;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(6039001)(7916002)(2980300002)(428002)(199003)(189002)(586003)(50226002)(33646002)(50986999)(4720700003)(76176999)(5001770100001)(97736004)(8676002)(8936002)(103686003)(86372001)(52956003)(960300001)(45336002)(36756003)(87936001)(4326007)(46386002)(2906002)(6666003)(81156014)(81166006)(90966002)(42186005)(48376002)(305945005)(68736007)(105586002)(8666005)(5660300001)(106466001)(50466002)(356003)(42882006)(101416001)(2950100002)(92566002)(626004)(189998001)(5003940100001)(47776003)(7846002)(7416002)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR03MB2888;H:tx30smr01.am.freescale.net;FPR:;SPF:None;PTR:InfoDomainNonexistent;A:0;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD013;1:jPTI0FNFVEe1OZhan2fN6r48Z9S80MH1Wp/0rQtWbfQpy1JKkyDD4CKzqxqb5mloqjpT+/fQpNjV2AZOUehUrZliMV5iMT8EGBaKnu0nCM+dce8APdUM5Zx1BTifHY2/O1tJBrTV+CeFo09CGl46wXiLDIdJoxlcP09hAoXGIW63CruLCGRm4kUtCQ/COH5Sp82NPXcm1R9CCKGXz6sGd57iEIwiG/Nv23RoqXZqu/gxZtlANPbvxc+j2ZtdBj5GFLwEAsNznuMWmz3gc+Tg8fQvOAUYpQdAiR25Y5t+x+v6XSwlnzBTYfyzMpt85J3RQSFCSjVpYYaajGXGZsNPqD+fsXHR1TWi6Q0L4JHPONaG1E/VGuv7ezF2eMqNRed744BULzM/I6dblRw3TH8X8SKIzKaSvHEYYYmg6KPxLUYoHH4W5Xf0l4fRNM0H25cK3YoZH37cIDp8vSJzaiGggKNPmQLw3s2iJtulqwSSaU/X85xCoZLVpxCEK9Y1qMGz2e+poyIogJV942HH4IRlz/pIA67hdY+obpoleboaQpFXZo3h44eXVupS8i9lf1xQ4iOj/fMYxwJCv7ms7OBWyTwINHoE8IP2OizqtxUZ5LO/zIGiW6zQjX5VdUBhEXzaJFPcTbcqENpI7KINb9c1iQ== MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;CY4PR03MB2888;2:Gse5bg6NcQ08RyKLzzdB/vACrsFY8RvEV7hGaPdarb8aYnWmeBxNo61dtb99VV/UrM5WDhed5POitJ8yNNL9oTFcN7Op+x+Vw+FGkhpbiWVbG+4X8Fa89AxssXXyt4NMRIRLxoTWffYfD8jDAhwZxEbXFmTbB9JoNk1Xaj+Rfy4=;3:GtQxrJFRARxzMDFI0PzK7QijJFHZSp5Qd7lSSOqMDY+nIFHfaIICrazBG4dxPIAsrhlWVlNTWb/O9qZhDCcZBJrH8uiVQcvTGDXWA+iHLWZ72E80etWVk4H2/l6IenwXbnvWOaWBzhtcvbl0IkW0yHNF2jBt/Mzq9Wy2pLAgLE9Q451lT0NeR+gNXiok8IVvF2VEu05ACoOoRPAM+lY/y6JLH/Okrn3dpMeFAM8CApf5bWXDo/wc07hVsv/0BDhiYSSs7CDK/k9kb9Z05A9gGQ== X-MS-Office365-Filtering-Correlation-Id: c94cbac6-48fd-4e32-81a5-08d40942b925 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CY4PR03MB2888; X-Microsoft-Exchange-Diagnostics: 1;CY4PR03MB2888;25:KkccnPrMs/g2urC7KKJkHMOAzDvJ90btM99XdEaKoE1ENIr3K8eCR9Dxgz0e6mYL8AHF8VW44QcmQFG8HGdigyMx3GOVjemCGLoW/1ERYCXmysSZ2APZEjxM2ra9qOFtWOOrBReb6byRHD0v+QzOqfhgSRzPELbxT6xThbIa+AZY8MehxCMuGp40dSLoDRGSPvT40nI8+X9kbZ1mbzQy1TjMu4s8b6YGpL9K4ImlJA4CuiNVizWVthjkrDvJifA1gcjh+goLew/f3dDzEnbtSI5NwInTFYkLDIoPMHhL7rpor7g49LPpSKYegNAdLIpezwJXPmh27kFPM0D+93Q+kHl+gatK8H4+zNztL3QfmmJVr/H/ksFYyaifwW0xMhWx9ivkZfChPRJ5oB9a8mk6wyMVjeX2yxFNr3B6uCSCpQQat/eAy3B61HOUjCbse6AUEhfuR1FFrjl0F1oJIT4PgDG/txMg03ftu+el1Y/20IQsK/sWLKUAchRxbMhlszqXccC3sPeDuUwyd/nbPvAsgFaBpqGxZmKn+ten2CSwnyjaJ24AfMbhABmQmt2ZrIfTbpogte/vRsl1ecmvkBauAwvsdVlx04eLv6+8EDSD5rwcALEyrLcteUZsVuE13+rHL94vm8m+MFW/vlBs5ha5uJRpKlVsSkbgOjL7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l1uH7Vv6Z4J4wX 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)(5005006)(13017025)(13015025)(8121501046)(13018025)(13024025)(13023025)(3002001)(10201501046)(6055026);SRVR:CY4PR03MB2888;BCL:0;PCL:0;RULEID:(400006);SRVR:CY4PR03MB2888; X-Forefront-PRVS: 01221E3973 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY4PR03MB2888;23:dDLVu09Ka1vRp38vuZY00rFejBEFb1txDTx+GSr67?= =?us-ascii?Q?CYKNNpyX7fofgO/rA0SHWKqjeNBRUs3tY+XDJQmEdQm4v6P9xekVo7HPnGP8?= =?us-ascii?Q?GzTOXOTkE8O4FIwVPlhoyBfQGEtIhZmPaQul+hEEFHbIkUUdaZ9f+xdJySEg?= =?us-ascii?Q?BGwFCdMEN2S9VoAUTzfL4DfaJ5G5jCWPsl1jlOtf4qCtgzkp7pHA+IfTC/Qd?= =?us-ascii?Q?ceJgFDs0OmeqGWGO3FgzPmxcpJwpbDYZPxRUU+koheSTY0ElAFdabLpfnvMl?= =?us-ascii?Q?W+bPvtQFSX4yuCQqYsyvTmX6G+xyMtz7xjVC1ha4HZ3G5AA9geCJwZUaODuk?= =?us-ascii?Q?HfNfDfo/pTTS5VDPfzR/vu5JK3SKgTn7CFfDaYWViHLpmFOZbRkO67n3Bp7K?= =?us-ascii?Q?86cQccvJ21jHmZCNSSJSi0ePGaptv7imuHiy9WSNpUEMEQfCiGvsHZ/SHmOH?= =?us-ascii?Q?Kphew7QlQPf1Bb2T2HJoPd38tcNkjwkHyHuoewgXDBsJ27Orx7H0KhDcFyk1?= =?us-ascii?Q?EYw4qhzzRShIz8vkG43P3VkvQZgzB9nIHY+inzQfiRDJBt9sWII4Xo71Yf3n?= =?us-ascii?Q?59Oh8BjTBnwXh+q/e0hGXZl7hLDANGcuMkZF+9+sxm9m7SUFWkpw34OIU75D?= =?us-ascii?Q?yyz8Wc7qO7LY+y9Gwcr1xCfrp8QqQx3L/0XmKor+jkOTkfU0BwXPxiok2bd7?= =?us-ascii?Q?r0A90EFltD8MhrwjyOXtBYRfiTpHsMYZOSevSc5hzP5SX/ccTrXHkKYyziUM?= =?us-ascii?Q?Ov4MJAI26FJpk7twVb6JsBdRTL3RqWMJ5n8iN3bKQQSCvCHQ3K2ihMKzZ+ju?= =?us-ascii?Q?pPuo77LUKK1WI0JvAyaGySjyQee86CoFDxeqSOpdST4xp7p1uCeQqN6BxUhP?= =?us-ascii?Q?GuGjwdDuRjmfTSzGPPXOXqMeRhBwWW+2Tadn/ulib19BTwmqx06lmGSUS7ix?= =?us-ascii?Q?gntCQgYOBXnpYWaCaIkYTHciaRkA1FzLEn6WKIL0sNUBR/n63a3w52xZRgK0?= =?us-ascii?Q?dtNvtA9c9f4wNBZK9FlxReJsZKLHL3xausXBJba8XThocogjVluKHusc21Yr?= =?us-ascii?Q?cGAcnhAPJlo+MoI5DuEJ/aqYE3LRKBdZmL+YrxyoLW4UGjwUjBmx7HT595Iw?= =?us-ascii?Q?lxcEwNC9btwe8JlSINakz5XJD65qDrP3F+5kNm8gb7EGmC+9azAlaerBRvNM?= =?us-ascii?Q?57KLt+gNF/MhXihl6dvUm+5x/dLTVnVK/HnsWbQ25gjo/hEHJ4K2P/2zA=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1;CY4PR03MB2888;6:t9o0Tybjk2guTXz74PV4o9W2ywDcK48kshambWVhku+EHPFnjxNicL8Tye2aRREiBGEKNpbvbT8aMdharZNeCCmpv20atcFVz667SQlFO2xyaBlGYmY3km5xJ2CN6hy02SW8dijmFNlo623jKNxdM5t3T4ek4KsQOTVDlhVToKVLWD8yglfUyRLXnhanLktnvpwaXCk0yvxdnAGD358DHdRGmaLmct5PMqD3tY7BUPBMRzFiipdB/mSfpuHwKcKvdxPYE/E39lSH0CvKskW8Bx5Dg1Jh+U7lRIH3oTkgJdi/5BMWewaSq/CHKdGBPEj/;5:5bJgFC7vbfv6jlxKcYPBuZa1CeOML+ThpHwYtPEAvxP2To+R7tjLdNRUHR8JMZLcnPGlZ+j/ct7Tj20vs6Uddar+kN8UTysj1oNbdprJ0VkFvdtwhDtbqehL3/ms3x1zLIU8bmESCd1qBlbh46emG67ITo+8UjXhey7GdjaAbJ0UiEWqc3oA4mMhbjep0VNV;24:6GGfHSzL0rrgfTsMy2/o3W/CcKmUMvoJ8sNsTeI1KW0m54GW2kN/quG+XOE6cRbgfD/X1sNSq8l7t/tTYTlPMM7biF/MFHVWpvvOjT/TFVA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY4PR03MB2888;7:zKK4AEN3hgqFXT7Y2DEJVBHRgx9R5KRl8wrwWUMw0O8ehY6tbo3WHSUcFi+QjBzKJSo9HSfT5LEz7/BGUVMRDNRRQgPcPggdIEfmH6Jy4DFIIaPlCj/5f2atiBAyPdCIcplNc0W/9Hg/Fq+vJQL08jvWc+Xa0dSR+L+t5QhvibOUVOITMpcFtR1AsKqF20vn3CONXYkiYSOxtgE+TR73Yr10Wke5JfSDo6ODQV2M9CJ8EMUCJmBwntUMi9Jhlx9EseXEwYcv92rLLQv4lF2dlusciwqFO0kLF9kC0kkOKtTDV1YbvAHubXxNLBIvVjlFRCXuQR9w6nxLXRX8Wd2sqb5WBUroYuA7shi/27HTdg8= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2016 08:22:30.4724 (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.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2888 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 905 Lines: 33 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 v3: - fix compile errors 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..4d4ab42 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