Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965861AbcJYK5L (ORCPT ); Tue, 25 Oct 2016 06:57:11 -0400 Received: from mail-bn3nam01on0072.outbound.protection.outlook.com ([104.47.33.72]:14784 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965640AbcJYK5H (ORCPT ); Tue, 25 Oct 2016 06:57:07 -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: , , , , , , Sriram Dash , Arnd Bergmann Subject: [PATCH 3/3] usb: dwc3: host: Do not use dma_coerce_mask_and_coherent Date: Tue, 25 Oct 2016 16:26:28 +0530 Message-ID: <1477392988-7253-4-git-send-email-sriram.dash@nxp.com> X-Mailer: git-send-email 1.7.7.4 In-Reply-To: <1477392988-7253-1-git-send-email-sriram.dash@nxp.com> References: <1477392988-7253-1-git-send-email-sriram.dash@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131218666251418232;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.158.2;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(6039001)(7916002)(2980300002)(428002)(199003)(189002)(8936002)(101416001)(68736007)(6666003)(356003)(4326007)(2906002)(50986999)(305945005)(33646002)(8666005)(7846002)(5003940100001)(189998001)(586003)(47776003)(76176999)(46386002)(19580405001)(36756003)(103686003)(105586002)(19580395003)(4720700003)(42186005)(5001770100001)(48376002)(229853001)(106466001)(11100500001)(626004)(7416002)(87936001)(92566002)(45336002)(52956003)(5660300001)(97736004)(2950100002)(42882006)(86372001)(69596002)(81156014)(90966002)(50466002)(81166006)(50226002)(8676002)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR03MB2369;H:az84smr01.freescale.net;FPR:;SPF:None;PTR:InfoDomainNonexistent;A:0;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11OLC006;1:5D7emVGENMbWMxGJwyLllTN/yUwy6njURW/UTA7SBerRVadKS9mq1zHIOiY+Ft8LSbSjox1EQRzqq7EDjcPPmsOOE1Pr2Zr6/5XStw+glfg1NoW2Z/7EbiPH9S9BnHcvV2lS4fl01VsTemOZqcRE/pG/NavcRN8DKDqLDjXOQdKaMtkJJl7aQGJRU+XiXOsYvSMpj3ox3fj/WGOEvgfk3NyHon7oD+BxhuhDrZ0+sanIzWANLPwrbOV76FOuv6SluisJbk+K4WVJ1JGcUj70Q9V7tdn9XYRq1Us7Qw49afGBkT8JoXdfQPp/HO8k6hMXMG7zly8pr0W3Yypbvpwb64oCT6j1N2xgrm4DMb8Op4An1PF1z9JQ09Wkk1WX0NEBb2OWfK+4AD5EQPJVpKvOECaZNCAxYVZEaMwutm1OfBhNP105KYAKAePojHWJuq0bj4NbolblbN9W7nQWs45+/NGtHWF1d4ZtL2AJuozxeV5cZp8uEKihlQl5pHzkxbvFuClERzPp4InN4JfOcogF/z8ycBsuvxewc8DVOvT4v0YoIo88+NguslhnMwZDeSDxgwqtzPvW+HqGjkFDQI/A3JjlFTRoIM45VUQAZrL0/FzLJdRVxc8Cm7AWBQUGrz0c60OOD7ZrD+lj8s5uxnzKvA== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 8ce67fb0-350a-4bce-ef98-08d3fcc5a834 X-Microsoft-Exchange-Diagnostics: 1;BN3PR03MB2369;2:PKTQ+aB91KZUcGomz9WNOCH5XzdcBeh6uX3x5kmIXvINXJn+WilZSWmgPUJR/llAFiHM157r/UnYuTAlTJTg9Sig7sYVFN27fOsXtMcXjC+z0QJW+KwKFhCEUUzUi4kQ0hcjrs275XzI27GX/bzJ/vd2BMiTQT5kgJMaiHa4PDjAfbYu9rHMkGrZLlOEJM15jcfR8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oE99pxk5tu6Ut7Uk7XUJWM8HNibbA8qJK4rqSD7A10SsfJjaYfh4kQIUprYs4XNgKk00VJ/n1iJBL6RmvhWgL5LlkahrSu3uT5noHfNpXiM= X-Microsoft-Exchange-Diagnostics: 1;BN3PR03MB2369;31:hjM1qaK5cDoNvPZG4YLE01PgKtPsFABpjCUBC/hhA1pCevtqUB90nOmuOsn+P/vTK1cvZt5fRDDSRovw2Ict21FZtzQ+mnxIitLgQknoNa52+CDC5HB8y5St/wsPRzUt9vmgqE2GCJb8TBthpSN21x44r2MDt2prEHO+BcLx8rrYCfnpf49ziyY5M5ZV83jZ9yNz1mwRv6/n+0reNPF6H9kxPFZw3VSc69F92j28SWmCBdUBuwTa0NX74ZUA+bvxgZYXDkDYSRq+AHpHp/JpjZ3oTNHWAoy8TS67M2s5bFU=;4:NVjG/ShVWz7BZbIudP0SJSEodure7En1wdtqHkQXzuOW3/Qdd9KVcI2phpi/ln4eofDN7koyef/dQ6OHJLnp/st5R76MF/lnFIKvVP1m0wQEJC+mTL9f7Y65oeR15s2+WWGFBNTH63gLf05Sa3I/LqwJZ2XXERo8S6v921gh81i+DfSC5lCuCIgCNtLLYM5FOptwv6l5tJfMRVYjxWZ98ns7PybSPuq1KlY+Ztq6uMDjM/uu2xrjQF0wTrTLiIYZ630f1w6B+YdzTR+vvcDDqoNesx1gUZ+mQIWVdb/Bouaxq8QuuVO13B14/Z/QYJ4q7iI9pQfYJc53zklvEX13aeanLyJuKUBQeqE5tgOoNrpuUkcuxeenNVOZCu/aC1ERUqAnKo5luenaJ+DA+7liqstPomzu9SOO8tpxb7VcFAxim6onN4Q2Fh6eHaxEHrVKp8CQKksZBAHYNPBHFidRHlqO2SAxa1Xal3L/mVtfNSRReavB9OOh1VkZshdfVVnG1i9hdcIZnhAJyT+m6Mm5SQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(5005006)(8121501046)(13023025)(13018025)(13015025)(13024025)(13017025)(3002001)(10201501046)(6055026);SRVR:BN3PR03MB2369;BCL:0;PCL:0;RULEID:(400006);SRVR:BN3PR03MB2369; X-Forefront-PRVS: 01068D0A20 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN3PR03MB2369;23:TQ8TvzRHiTJvcctxc/2AQ1R/ARqKUISrMGpTl55T5?= =?us-ascii?Q?6SiVeTaM6Z36r7sJbqDuAarKyUG9jtzcJijaZ+JU6jDd+u50MZe/bHcVusYI?= =?us-ascii?Q?DnY+7nL/RkZLggfjJ4OxKj+JDGHtYxov7CfDmfgGHKgyVgAyHLQyPgsvhjd5?= =?us-ascii?Q?L7O34bln7QQa+tcak9GOTPzL8yXNK4AMbjrVdCgVCoqkjBIqUtMU0dlGzNXi?= =?us-ascii?Q?gLcJexiYoBrjkIDLfefqOzI7rELjjg0cW/8iD7KVr0ubwcUb6DnLnoSbLyLM?= =?us-ascii?Q?CBUIdMGKcErT4nm2K0Cd3Rk/RCi4yhssA27C3SRE79Lsb4x9sM1NXkl8e+l2?= =?us-ascii?Q?3Q05Bf32NMtlel+0aGIkOv/XtueDAcIQdvqDL1ZoWzvdOddXOQcmZfMB44rj?= =?us-ascii?Q?iYM255I7++SwB8tL+6RoXXNZd66sJ4PmMxe/m+QDEafNlU+MtVA0/Bkz/hDI?= =?us-ascii?Q?pEwkFalAASDOkFhPzEJ9pliaERXhmrFvwytr7VNWN6RH+/fbPwuDq1ldTkFy?= =?us-ascii?Q?Se/losZvhRsla2AqbuGVmGwdhQ1XjOYsFGPAM7SlMAjmwttAV8hVNHYxIFj0?= =?us-ascii?Q?NPb3LNbkBF27de994Go/xG3KIzxCY9puQg8NRFMdYOrNvrafRsAAsbxhGypN?= =?us-ascii?Q?tXa8arxD1CMsUtHhCqD3jgJ/Xhggc2bMq1W3+/tFj18Bl0WDbmmHCTYSkHQc?= =?us-ascii?Q?xZRWgdiGOILIT4Oavm8WWaYmA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ExHU9WTb9zbnfWvW9ctRDAgNRQj/;5:UtvqPZSK8NfqbI2t5g8yhpwXeM5Gn0k4AG9crR++WLsnyAy3XdO/yXh082Vyxbnj9605qO/gzFqCelLBBdhZKTHseCk9lfP02jRILnmqYVO8QaX3AZTry6uWK25EnxvvQ62eH8+pfJrMZItL2KML+jQYs6qf8IUxvaSesCc72Hlup4/VLIdhLeP+nQMlQPIu;24:w10H6/6JQYSiw3iLsddU14u2JWUhig1Ixz0gg7Y/LQrZpE4D36YOAq48S6DNcU9qmBemME00aPg9P/RVe5DXd4gK2Xu1djdZkNxPRjw8tRM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN3PR03MB2369;7:ySjNNlbJHTsyhcyP2+vMV7dzVRroOA3WfiH8gXQVfPG2rTqgfLokuXaBZI4J04dBJOK9eVzbphuajvT/SFGj+yfDu5NEqU5CTZULedqAz+IQB8oryPqBu5JTH/COjfGhLdK0a2JvbmSCXWe25243eas0b7TLn0CuNfzFlIbbkALJQ3d5Of6fnnme8xilohfuePI/VyYafu1CIcAUkcP5+ycyPCnwEaz1/9sslY6PvABEDBvDKDmYbgExq8mwIt2yuN1pfTnkEBvAmC+CRvXHgsCfh2aV1Wjk+lCn31YGwEca9JPaafQUxh3kZz2Zu0FU/4S8aHU+75zvVqX/vuyTRnbUZlky3L+pO5XNAAe+K9I= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2016 10:57:04.8922 (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: BN3PR03MB2369 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1075 Lines: 37 Do not use dma_coerce_mask_and_coherent for hcd. Signed-off-by: Arnd Bergmann --- drivers/usb/dwc3/dwc3-exynos.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb/dwc3/dwc3-exynos.c index 2f1fb7e..e27899b 100644 --- a/drivers/usb/dwc3/dwc3-exynos.c +++ b/drivers/usb/dwc3/dwc3-exynos.c @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include @@ -117,15 +116,6 @@ static int dwc3_exynos_probe(struct platform_device *pdev) if (!exynos) return -ENOMEM; - /* - * Right now device-tree probed devices don't get dma_mask set. - * Since shared usb code relies on it, set it here for now. - * Once we move to full device tree support this will vanish off. - */ - ret = dma_coerce_mask_and_coherent(dev, DMA_BIT_MASK(32)); - if (ret) - return ret; - platform_set_drvdata(pdev, exynos); exynos->dev = dev; -- 2.1.0