mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] usb: fsl: fix typo FLS_USB2_WORKAROUND_ENGCM09152
@ 2016-02-09 23:07 Lijun Pan
  0 siblings, 0 replies; only message in thread
From: Lijun Pan @ 2016-02-09 23:07 UTC (permalink / raw)
  To: linux-kernel, linux-usb; +Cc: shawnguo, rajesh.bhagat, Lijun Pan

FLS_USB2_WORKAROUND_ENGCM09152 is a typo.
It should be FSL_USB2_WORKAROUND_ENGCM09152 since
FSL is the abbreviation of Freescale.

Signed-off-by: Lijun Pan <Lijun.Pan@freescale.com>
---
 arch/arm/mach-imx/mach-mx35_3ds.c    |    2 +-
 arch/arm/mach-imx/mach-vpr200.c      |    2 +-
 drivers/usb/gadget/udc/fsl_mxc_udc.c |    2 +-
 include/linux/fsl_devices.h          |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/mach-imx/mach-mx35_3ds.c b/arch/arm/mach-imx/mach-mx35_3ds.c
index 7e315f0..4d4403e 100644
--- a/arch/arm/mach-imx/mach-mx35_3ds.c
+++ b/arch/arm/mach-imx/mach-mx35_3ds.c
@@ -507,7 +507,7 @@ static int mx35_3ds_otg_init(struct platform_device *pdev)
 static const struct fsl_usb2_platform_data usb_otg_pdata __initconst = {
 	.operating_mode	= FSL_USB2_DR_DEVICE,
 	.phy_mode	= FSL_USB2_PHY_UTMI_WIDE,
-	.workaround	= FLS_USB2_WORKAROUND_ENGCM09152,
+	.workaround	= FSL_USB2_WORKAROUND_ENGCM09152,
 /*
  * ENGCM09152 also requires a hardware change.
  * Please check the MX35 Chip Errata document for details.
diff --git a/arch/arm/mach-imx/mach-vpr200.c b/arch/arm/mach-imx/mach-vpr200.c
index 27a8f7e..9104ebc 100644
--- a/arch/arm/mach-imx/mach-vpr200.c
+++ b/arch/arm/mach-imx/mach-vpr200.c
@@ -238,7 +238,7 @@ static const iomux_v3_cfg_t vpr200_pads[] __initconst = {
 static const struct fsl_usb2_platform_data otg_device_pdata __initconst = {
 	.operating_mode	= FSL_USB2_DR_DEVICE,
 	.phy_mode	= FSL_USB2_PHY_UTMI,
-	.workaround	= FLS_USB2_WORKAROUND_ENGCM09152,
+	.workaround	= FSL_USB2_WORKAROUND_ENGCM09152,
 };
 
 static int vpr200_usbh_init(struct platform_device *pdev)
diff --git a/drivers/usb/gadget/udc/fsl_mxc_udc.c b/drivers/usb/gadget/udc/fsl_mxc_udc.c
index f16e149..af502bd 100644
--- a/drivers/usb/gadget/udc/fsl_mxc_udc.c
+++ b/drivers/usb/gadget/udc/fsl_mxc_udc.c
@@ -86,7 +86,7 @@ int fsl_udc_clk_finalize(struct platform_device *pdev)
 	int ret = 0;
 
 	/* workaround ENGcm09152 for i.MX35 */
-	if (pdata->workaround & FLS_USB2_WORKAROUND_ENGCM09152) {
+	if (pdata->workaround & FSL_USB2_WORKAROUND_ENGCM09152) {
 		unsigned int v;
 		struct resource *res = platform_get_resource
 			(pdev, IORESOURCE_MEM, 0);
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index f291291..8e08089 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -119,7 +119,7 @@ struct fsl_usb2_platform_data {
 #define FSL_USB2_PORT0_ENABLED	0x00000001
 #define FSL_USB2_PORT1_ENABLED	0x00000002
 
-#define FLS_USB2_WORKAROUND_ENGCM09152	(1 << 0)
+#define FSL_USB2_WORKAROUND_ENGCM09152	(1 << 0)
 
 struct spi_device;
 
-- 
1.7.9.5

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-09 23:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-09 23:07 [PATCH] usb: fsl: fix typo FLS_USB2_WORKAROUND_ENGCM09152 Lijun Pan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®