[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1519251463-12318-1-git-send-email-martin@kaiser.cx>
Date: Wed, 21 Feb 2018 23:17:43 +0100
From: Martin Kaiser <martin@...ser.cx>
To: Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <kernel@...gutronix.de>,
Fabio Estevam <fabio.estevam@....com>,
Russell King <linux@...linux.org.uk>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: Martin Kaiser <martin@...ser.cx>
Subject: [PATCH] ARM: mx35_3ds: remove unnecessary USB OTG init flag
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 <martin@...ser.cx>
---
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 */
--
2.1.4
Powered by blists - more mailing lists