usb: chipidea: remove flag CI_HDRC_REQUIRE_TRANSCEIVER
authorPeter Chen <peter.chen@freescale.com>
Wed, 26 Nov 2014 05:44:31 +0000 (13:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 17:28:12 +0000 (09:28 -0800)
Now, USB PHY is mandatory for chipidea core, the flag
CI_HDRC_REQUIRE_TRANSCEIVER is useless.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci_hdrc_imx.c
drivers/usb/chipidea/ci_hdrc_msm.c
include/linux/usb/chipidea.h

index 75421c2187f5e297e9c915108813d0e2225d33da..450a168974d5d4b2c3c0a54742d537151fffd575 100644 (file)
@@ -106,8 +106,7 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev)
        struct ci_hdrc_platform_data pdata = {
                .name           = dev_name(&pdev->dev),
                .capoffset      = DEF_CAPOFFSET,
-               .flags          = CI_HDRC_REQUIRE_TRANSCEIVER |
-                                 CI_HDRC_DISABLE_STREAMING,
+               .flags          = CI_HDRC_DISABLE_STREAMING,
        };
        int ret;
        const struct of_device_id *of_id =
index 3edf969ed7976a5ae82ff2addaf2428fd89a579d..d79ecc08a1be75568a2460ac6d180b7cbe7037b5 100644 (file)
@@ -46,7 +46,6 @@ static struct ci_hdrc_platform_data ci_hdrc_msm_platdata = {
        .name                   = "ci_hdrc_msm",
        .capoffset              = DEF_CAPOFFSET,
        .flags                  = CI_HDRC_REGS_SHARED |
-                                 CI_HDRC_REQUIRE_TRANSCEIVER |
                                  CI_HDRC_DISABLE_STREAMING,
 
        .notify_event           = ci_hdrc_msm_notify_event,
index c01bf4ea27b9be881c19f9f6e086ece61f7491c3..535997a6681b90318e37e9fcabc5e4ecae22109b 100644 (file)
@@ -19,7 +19,6 @@ struct ci_hdrc_platform_data {
        enum usb_phy_interface phy_mode;
        unsigned long    flags;
 #define CI_HDRC_REGS_SHARED            BIT(0)
-#define CI_HDRC_REQUIRE_TRANSCEIVER    BIT(1)
 #define CI_HDRC_DISABLE_STREAMING      BIT(3)
        /*
         * Only set it when DCCPARAMS.DC==1 and DCCPARAMS.HC==1,