Message ID | 1486776443-2280-6-git-send-email-peter.chen@nxp.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show
Return-Path: <linux-pm-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 639BC60572 for <patchwork-linux-pm@patchwork.kernel.org>; Sat, 11 Feb 2017 01:49:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 50C23285C9 for <patchwork-linux-pm@patchwork.kernel.org>; Sat, 11 Feb 2017 01:49:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 44F2D285DE; Sat, 11 Feb 2017 01:49:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC2D3285C9 for <patchwork-linux-pm@patchwork.kernel.org>; Sat, 11 Feb 2017 01:49:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752190AbdBKBtf (ORCPT <rfc822;patchwork-linux-pm@patchwork.kernel.org>); Fri, 10 Feb 2017 20:49:35 -0500 Received: from mail-sn1nam01on0085.outbound.protection.outlook.com ([104.47.32.85]:23072 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752019AbdBKBt2 (ORCPT <rfc822;linux-pm@vger.kernel.org>); Fri, 10 Feb 2017 20:49:28 -0500 Received: from BN3PR03CA0105.namprd03.prod.outlook.com (10.174.66.23) by BY2PR03MB1942.namprd03.prod.outlook.com (10.164.114.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Sat, 11 Feb 2017 01:47:35 +0000 Received: from BN1BFFO11FD025.protection.gbl (2a01:111:f400:7c10::1:139) by BN3PR03CA0105.outlook.office365.com (2603:10b6:400:4::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16 via Frontend Transport; Sat, 11 Feb 2017 01:47:35 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; linux.intel.com; dkim=none (message not signed) header.d=none; linux.intel.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD025.mail.protection.outlook.com (10.58.144.88) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.904.16 via Frontend Transport; Sat, 11 Feb 2017 01:47:34 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v1B1kZwO001095; Fri, 10 Feb 2017 18:47:25 -0700 From: Peter Chen <peter.chen@nxp.com> To: <gregkh@linuxfoundation.org>, <stern@rowland.harvard.edu>, <ulf.hansson@linaro.org>, <broonie@kernel.org>, <sre@kernel.org>, <robh+dt@kernel.org>, <shawnguo@kernel.org>, <rjw@rjwysocki.net>, <dbaryshkov@gmail.com> CC: <heiko@sntech.de>, <linux-arm-kernel@lists.infradead.org>, <p.zabel@pengutronix.de>, <devicetree@vger.kernel.org>, <pawel.moll@arm.com>, <mark.rutland@arm.com>, <linux-usb@vger.kernel.org>, <arnd@arndb.de>, <s.hauer@pengutronix.de>, <mail@maciej.szmigiero.name>, <troy.kisky@boundarydevices.com>, <festevam@gmail.com>, <oscar@naiandei.net>, <stephen.boyd@linaro.org>, <linux-pm@vger.kernel.org>, <stillcompiling@gmail.com>, <linux-kernel@vger.kernel.org>, <mka@chromium.org>, <vaibhav.hiremath@linaro.org>, <gary.bisson@boundarydevices.com>, <hverkuil@xs4all.nl>, <krzk@kernel.org>, <frank.li@nxp.com>, <jun.li@nxp.com>, Sriram Dash <sriram.dash@nxp.com>, Mathias Nyman <mathias.nyman@linux.intel.com> Subject: [PATCH v13 05/12] usb: ehci: fsl: use bus->sysdev for DMA configuration Date: Sat, 11 Feb 2017 09:27:16 +0800 Message-ID: <1486776443-2280-6-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1486776443-2280-1-git-send-email-peter.chen@nxp.com> References: <1486776443-2280-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131312512550479454; (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)(7916002)(336005)(39410400002)(39400400002)(39850400002)(39380400002)(39860400002)(39840400002)(39450400003)(2980300002)(1109001)(1110001)(3190300001)(339900001)(199003)(189002)(50986999)(39060400001)(92566002)(76176999)(77096006)(38730400002)(33646002)(36756003)(6666003)(47776003)(97736004)(2950100002)(2906002)(7416002)(68736007)(7406005)(8936002)(85426001)(104016004)(5660300001)(626004)(189998001)(106466001)(50466002)(86362001)(5003940100001)(2201001)(356003)(105606002)(305945005)(8656002)(81166006)(4326007)(54906002)(81156014)(50226002)(2171002)(48376002)(8676002)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB1942; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD025; 1:jq0uy9nGPFX3auGd2eltc9LivjvlPEhwRoOX5i11uHDV1z2W25UtA9ZFpTiKj1+tcUskgM/WHj0fcPLlCnkOYbI7GvCCQg9aFj1NFCU1DuDF5E2XNFFmBOU0tmb6IIdOUnlSBaV3iK+2WTvGMoZYCh9hBMVFlEm4na8uIN/TjlTpVoHmVyGD3/aXFe7AuL2Ib1NcfUViCP/qVbn7WV5OradAmGk3DGagwdOTU90cS6zk6+Qp33uQjXpo67UMJ8UimXXy8fK1gJAtDIkxIAd8OWBocqOUcyy/RwzhOE83+aXMSbqrySsY4CyDIafZFFhipYsJXApuQyXRxSSsclaon850N26eTFBebu+BHK5qxydbWDP7JCNKPRgltwhuBaCafxNpdW+D0WyqRMQRvyWmc2oQ26g8ybYbarbYsXje4/gjk7Smk/H8D/85aJJq/xHzFxLjFrwv/WWlLW7H8bVHvXlQQZe6Kr158pam6F1fYJA0JZb1+WM7Nx3jj8ReAdbKd0JD83ewqXroxKM8EZLWSqCjedZml3ByA80pYeLv96WJIpuXyzKlKV5bAmKTwJE3TzHDoKFZ9FP9kqNYM5+R5O0pJjKG0QLiYdj4ygSOE4/Ntw3VeJDp6X6WNb09E4fOfQ/QHoQgtENr/UoDSxElNY+vP0oNw5WO4RnKlPm6kfs= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: ee999ccf-fcb1-4ca3-9b66-08d4521ff386 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BY2PR03MB1942; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB1942; 3:g6U2CZOt29rSN58m/gVklcrSfOtsMvwmFr51kXxzo6TDxCB3AmiuUiDLo5yK45f14R8Z913jQW9uzMy0e7XSbGyIjzjWhsunL9acaFGjAsM98yhQMICx2iQQ+JrIzS2bXAFiszO8J7KZpHnPLFeX9C+/a+qMsBFc+fjZQR8ez3OOveh1RrhA743Tj4unoWEMKb54ACsWMsHTeVZeKeaofDIz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ispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13018025)(13024025)(13023025)(13015025)(13017025)(5005006)(8121501046)(10201501046)(3002001)(6055026)(6096035)(20161123563025)(20161123559025)(20161123556025)(20161123565025)(20161123561025); SRVR:BY2PR03MB1942; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR03MB1942; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB1942; 4:NSp5pdEF2bcgjBrX2qSE1FrxXe6yfbxk08xRmwXFK1GSXHQaQz/lxosWp8bKA7Cy3OfFief0qt8JCmeOsm/Hp6FIJmYydfHHAF9eZnAtcwKexwV+Y3PBi76ff4suyg1o3fxwdqC4Hothx1lUrVbmsJGHbpdImgYSHzuEerYVwOnNvOfwz1iMJPNt70H5LOTV1N8p95AYbRb3wvQAfh/vkJ8/4TeERotiJ7Utcz2ZcduOt0BAR9qVcPd49EL+AwRzGO35bxXceSgz/nL16xjzYhToTpB3K7JAVyB0fS4mVk/pNIpHPHLjs9u7/SkTWJwkv7mYg0f2oDBT/E+qHqD8rWh+oEvOSS368jzfz4T8MDwSsfr9Pb8fCH0uO6emlkZYJGaAOUnL41I3MUwdyN6LneNCRrjVDmX/C/8nQUXk//2lxqeCa6/q0+cj2B/COjAxIuSIyCzX1WfcG616++jR35m+g3+kVb0lsySy0OVveVNfELyd5UWXsJs6n9rSmJ+JE+m/Kb2f7aFpOXuQ5ipJidT9ftshEYHNCohydOhyCV/i5ABP6CS+5eZ9CtEQMF7j/TZwzQxRB7Szj35y8GO9zAF5zHX38r9tEz9mgWKxx+iM7UmBd0cyFGw6EUYuiefu/NShCZksADySWoNyNLfCP1LXsJJoqREkgTX6ng/+r7+am9Z9ferfxaOSQ2p8NikCSvShL0W6P3/amD5IwgOxba50E/owo0vXBNsyMngfUqqpVZfKAjIQeDJl3sQKxtobYn5+0/uHEQoM72Pym7Kdtw== X-Forefront-PRVS: 0215D7173F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB1942; 23:mgl6uETPT45DbLai+NTH4/wfAuJRd0ue6TK706skA?= =?us-ascii?Q?h6wm62jjg6FD2XVxOj39aLhs38GzB3yxD0gcorT+wryULUYmSpSWrGlbXZFv?= =?us-ascii?Q?CLkVx/mbZWsWC4hIAeRBK6s7T71JQTHekKv+5PY1du/KR71nDrlKOT6mHT4H?= =?us-ascii?Q?jIWX1y54GINq5A1V7R0EBEw29hdJUJgd1tXvs2PZ8QTgO918K3eQEDgMc1Nx?= =?us-ascii?Q?eZVeB57DXEEf+dUZ63lc+bBRmFjwWwefXe9jvPqPYyrIxXBWxGBOwbkzaIS9?= =?us-ascii?Q?Gi1v8ewX8CPluutaIkjArNtzHJnTertSSLomi+q3rrKdk6Y7BxH4gi+b9Yr3?= =?us-ascii?Q?H0+n/1qwZeu7Abm7H7yrt56YQkUJEtQTxK+6L2hs+4lRmvHOjVvvdD1wUD/g?= =?us-ascii?Q?+QTfQOpl0cE1qkIyk7JFYQovUl4kMV3qg5Jkp2oi+VXYzQEsE3tO5zDQN48E?= =?us-ascii?Q?FpvCiqeEQ97A7ySsymxGLkrcvWi0xh3K5izmDDHczSZ2PYjYPgDhCY/f5GxL?= =?us-ascii?Q?C0L4TYS8OAzekBJCgvvTi/K93lg09qlXsHiySbIovUUxeW6UqXS734PHvmgc?= =?us-ascii?Q?uc+/lxIw7YORf8WMTzhpIsAEy3FlqHeKARqibay+rCTZNHMT+xdxQvCN7iOq?= =?us-ascii?Q?kekAVRHbkm+8+MiuAUHI7BlJ64Ut+mHm/zw9dFBAiW09uuOwIHnYiVUwfN8k?= =?us-ascii?Q?/az09zNMBWRYFXPLR5+TGvv6Y1Fbp1GK6wXBVvIY+4xsEEOVUZIlgeoxaFdz?= =?us-ascii?Q?gCWl2a2CvBdfKw+p5IgNxd2PMkBv/cD5jA5g8tq9NpaFhrVW8h98DN4cwzps?= =?us-ascii?Q?yste7+Rg+sjJ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M+VCThtPor4lYrXpS8srwmGOjMrfJCD1w5d+aEvhcWcehyVfIMmbn9yHk0mFq0U0hFVUqk=; 5:uggjmxh4dFYR+ImPtdq76rZRecpHPubchnDHNv+uHDyVMEDZ7B68pKutEfxBCxOnn2kwNLSO5smN4mJxBH1geNtYwJE50f7Z75Sjc/ZPdIq6aGqKBe6tdMgoV8AQ1WTZ0WThobaX6hZanf4pRzvkC4oGRx6Tyx1ChrSEu75YxrJk+bRcgjCuof2iyMEfk8K0; 24:dqRRvJMnfj7HnkY+LvRgY9vjsalTsyUNryMjsZEQREpEygp/IkcEiWorDcJKpco7O7a6otCooCIGEwGpraj2dzQ8xIrZeeUnE4LtHYefywY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB1942; 7:ZpO8Lj4xbE2Z6Hl4JBxgqkQIz2kops6/8+gSWzIzfkOSvvPPIp/jx6wf9jeaH8Da/FCOcCK6GUmrI30yVQ6a3jjVnOmfhutLrrFkH/uoyOmwxYJnXu1dfOdpjOz9R03jRJZuR7CjV9UGNSNlJqy/vxDF2/iYv+msR04neh2W368/kbI+HwDj6RxQrA1U+kg/6t7eBiC1VhPVyDsK4gx6bDNS93MPdVxUdTnsU0VevavrB5aaUG4cDlDaxxyc3TL3vcnqGYh6KSpvxKfuKOa40X+QLWqkT0WmoIpS2OdISvgMffMvNkALjCJBqQH36X7WD5UPQcwtHG/pSN+Yr5cOACKfNwvra890wyCRLLtrw98RXF7WyZNr54GzsFaMOxIrVyOGRCwgdzbrYW43pLZdMkXURX0QxV03qPUHd3xj30XSGTc7g+J9LSh+/u9Jp3AoX0cQTdjc4NzYXIAvI3Emeql1MPuoB0wP4R8SPB/mcPpvXkfW8Q2/GtS1h038tUf0u2GVEb7h2XT20525PlS96Q== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2017 01:47:34.4395 (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: BY2PR03MB1942 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pm.vger.kernel.org> X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 3733aab..4a08b70 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;