From patchwork Wed Feb 21 22:17:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 10234203 Return-Path: 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 7AEE760385 for ; Wed, 21 Feb 2018 22:20:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6B53F283F9 for ; Wed, 21 Feb 2018 22:20:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5FE81284CE; Wed, 21 Feb 2018 22:20:47 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DECBF283F9 for ; Wed, 21 Feb 2018 22:20:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=NL4Wzvv3/ARUVGL+qOOm/8ULswot+9qzej2rTn+RfSs=; b=A7s 7/2bMNSh5E0Hsh6XZd826XwAiH7MvVwbbUHBFLPfTdi3i5mioW7dCt+K9j9yAqfCR9BDvhilTfnrO qHiOP9LGxkYydJO/r1t/3i1XYO1OlW1vqBZ/YMEx73AN+JWbAaBHh5GLnE233mj98rwaJkMZ3RlFB hGxoZCpCnMKPM3Yp/qbvA2wmxqJZvZjVoArQ/t5W3HlXWrNr+0Fewj9PuARoSq1F2Xi80+syITxOJ jDqScd1uycGY4v26OeJUQp9lXc9xDCfzbNI0s1I7uJCXWyVcRBCOFCnCIRjRjFB7hqZRFOO3DxEWG sCNvur0URETueyBm7+Z/17AB6teKCCA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eocke-0008N8-Sg; Wed, 21 Feb 2018 22:20:36 +0000 Received: from botnar.kaiser.cx ([176.28.20.183]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eockb-0008M3-6d for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2018 22:20:34 +0000 Received: from 106.138.14.46.static.wline.lns.sme.cust.swisscom.ch ([46.14.138.106] helo=martin-debian-1.paytec.ch) by botnar.kaiser.cx with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.72) (envelope-from ) id 1eociG-0002lq-GW; Wed, 21 Feb 2018 23:18:08 +0100 From: Martin Kaiser To: Shawn Guo , Sascha Hauer , Fabio Estevam , Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: mx35_3ds: remove unnecessary USB OTG init flag Date: Wed, 21 Feb 2018 23:17:43 +0100 Message-Id: <1519251463-12318-1-git-send-email-martin@kaiser.cx> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180221_142033_412163_14F08922 X-CRM114-Status: UNSURE ( 9.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Kaiser MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The platform-specific init function for the USB OTG port, mx35_3ds_otg_init(), sets the MXC_EHCI_INTERNAL_PHY flag. This flag is applicable only to the host port, not to the OTG port. It's ignored by mx35_initialize_usb_hw() when the OTG port is initialized. Remove the flag to make it clear what is actually configured. Signed-off-by: Martin Kaiser --- arch/arm/mach-imx/mach-mx35_3ds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/mach-mx35_3ds.c b/arch/arm/mach-imx/mach-mx35_3ds.c index 1c33a6c..f1963f2 100644 --- a/arch/arm/mach-imx/mach-mx35_3ds.c +++ b/arch/arm/mach-imx/mach-mx35_3ds.c @@ -407,7 +407,7 @@ static void __init imx35_3ds_init_mc13892(void) static int mx35_3ds_otg_init(struct platform_device *pdev) { - return mx35_initialize_usb_hw(pdev->id, MXC_EHCI_INTERNAL_PHY); + return mx35_initialize_usb_hw(pdev->id, 0); } /* OTG config */