diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-03-17 21:15:52 -0400 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:58:02 -0400 |
commit | 4d8136ecc1727763e807ba2dae4211279aad1cfc (patch) | |
tree | 8778d0f3f751020cccbc581db6435def7cdcbb59 | |
parent | 6e872f8e04da0a8cbf7be1d437998a06f3739f88 (diff) |
ENGR00303795-3 usb: chipidea: imx: rename host quirk flag to reflect its real meaning
This flag is not only used for mxs phy's bug, but also
for speical routine for other imx host operations.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
-rw-r--r-- | drivers/usb/chipidea/ci_hdrc_imx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c index cd6d06cfba44..c78edc02e28c 100644 --- a/drivers/usb/chipidea/ci_hdrc_imx.c +++ b/drivers/usb/chipidea/ci_hdrc_imx.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | #define CI_HDRC_IMX_IMX28_WRITE_FIX BIT(0) | 31 | #define CI_HDRC_IMX_IMX28_WRITE_FIX BIT(0) |
32 | #define CI_HDRC_IMX_SUPPORT_RUNTIME_PM BIT(1) | 32 | #define CI_HDRC_IMX_SUPPORT_RUNTIME_PM BIT(1) |
33 | #define CI_HDRC_IMX_MXS_PHY_EHCI_QUIRK BIT(2) | 33 | #define CI_HDRC_IMX_HOST_QUIRK BIT(2) |
34 | #define CI_HDRC_IMX_HAS_HSIC BIT(3) | 34 | #define CI_HDRC_IMX_HAS_HSIC BIT(3) |
35 | 35 | ||
36 | struct ci_hdrc_imx_platform_flag { | 36 | struct ci_hdrc_imx_platform_flag { |
@@ -41,17 +41,17 @@ static const struct ci_hdrc_imx_platform_flag imx27_usb_data = { | |||
41 | }; | 41 | }; |
42 | 42 | ||
43 | static const struct ci_hdrc_imx_platform_flag imx23_usb_data = { | 43 | static const struct ci_hdrc_imx_platform_flag imx23_usb_data = { |
44 | .flags = CI_HDRC_IMX_MXS_PHY_EHCI_QUIRK, | 44 | .flags = CI_HDRC_IMX_HOST_QUIRK, |
45 | }; | 45 | }; |
46 | 46 | ||
47 | static const struct ci_hdrc_imx_platform_flag imx28_usb_data = { | 47 | static const struct ci_hdrc_imx_platform_flag imx28_usb_data = { |
48 | .flags = CI_HDRC_IMX_IMX28_WRITE_FIX | | 48 | .flags = CI_HDRC_IMX_IMX28_WRITE_FIX | |
49 | CI_HDRC_IMX_MXS_PHY_EHCI_QUIRK, | 49 | CI_HDRC_IMX_HOST_QUIRK, |
50 | }; | 50 | }; |
51 | 51 | ||
52 | static const struct ci_hdrc_imx_platform_flag imx6q_usb_data = { | 52 | static const struct ci_hdrc_imx_platform_flag imx6q_usb_data = { |
53 | .flags = CI_HDRC_IMX_SUPPORT_RUNTIME_PM | | 53 | .flags = CI_HDRC_IMX_SUPPORT_RUNTIME_PM | |
54 | CI_HDRC_IMX_MXS_PHY_EHCI_QUIRK | | 54 | CI_HDRC_IMX_HOST_QUIRK | |
55 | CI_HDRC_IMX_HAS_HSIC, | 55 | CI_HDRC_IMX_HAS_HSIC, |
56 | }; | 56 | }; |
57 | 57 | ||
@@ -300,7 +300,7 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev) | |||
300 | data->supports_runtime_pm = true; | 300 | data->supports_runtime_pm = true; |
301 | } | 301 | } |
302 | 302 | ||
303 | if (imx_platform_flag->flags & CI_HDRC_IMX_MXS_PHY_EHCI_QUIRK) | 303 | if (imx_platform_flag->flags & CI_HDRC_IMX_HOST_QUIRK) |
304 | pdata.flags |= CI_HDRC_IMX_EHCI_QUIRK; | 304 | pdata.flags |= CI_HDRC_IMX_EHCI_QUIRK; |
305 | 305 | ||
306 | if (data->usbmisc_data && data->usbmisc_data->index > 1 && | 306 | if (data->usbmisc_data && data->usbmisc_data->index > 1 && |