diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-03-18 09:15:52 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@freescale.com> | 2014-03-18 16:40:34 +0800 |
commit | ef136e7aaa5fd1bb2b9ffc80eb18874d5c3840a9 (patch) | |
tree | a505914070ed6bf7614902e95e3f0c66f2d1fb66 | |
parent | 15b95d690ced4ab4c8065fb500a84a955268bf1c (diff) |
ENGR00303890-2 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 990d14f9abc1..b3a324be739f 100644 --- a/drivers/usb/chipidea/ci_hdrc_imx.c +++ b/drivers/usb/chipidea/ci_hdrc_imx.c @@ -30,7 +30,7 @@ #define CI_HDRC_IMX_IMX28_WRITE_FIX BIT(0) #define CI_HDRC_IMX_SUPPORT_RUNTIME_PM BIT(1) -#define CI_HDRC_IMX_MXS_PHY_EHCI_QUIRK BIT(2) +#define CI_HDRC_IMX_HOST_QUIRK BIT(2) #define CI_HDRC_IMX_HAS_HSIC BIT(3) struct ci_hdrc_imx_platform_flag { @@ -41,17 +41,17 @@ static const struct ci_hdrc_imx_platform_flag imx27_usb_data = { }; static const struct ci_hdrc_imx_platform_flag imx23_usb_data = { - .flags = CI_HDRC_IMX_MXS_PHY_EHCI_QUIRK, + .flags = CI_HDRC_IMX_HOST_QUIRK, }; static const struct ci_hdrc_imx_platform_flag imx28_usb_data = { .flags = CI_HDRC_IMX_IMX28_WRITE_FIX | - CI_HDRC_IMX_MXS_PHY_EHCI_QUIRK, + CI_HDRC_IMX_HOST_QUIRK, }; static const struct ci_hdrc_imx_platform_flag imx6q_usb_data = { .flags = CI_HDRC_IMX_SUPPORT_RUNTIME_PM | - CI_HDRC_IMX_MXS_PHY_EHCI_QUIRK | + CI_HDRC_IMX_HOST_QUIRK | CI_HDRC_IMX_HAS_HSIC, }; @@ -294,7 +294,7 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev) data->supports_runtime_pm = true; } - if (imx_platform_flag->flags & CI_HDRC_IMX_MXS_PHY_EHCI_QUIRK) + if (imx_platform_flag->flags & CI_HDRC_IMX_HOST_QUIRK) pdata.flags |= CI_HDRC_IMX_EHCI_QUIRK; if (data->usbmisc_data && data->usbmisc_data->index > 1 && |