summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/ci_hdrc_msm.c
diff options
context:
space:
mode:
authorPeter Chen2013-08-14 11:44:14 +0200
committerGreg Kroah-Hartman2013-08-14 21:37:20 +0200
commitd268e9bc23f5df4a2f4167da246d277c2a468d3d (patch)
treec513252a12c3ef3ee16b864e9cfb91bf0d4fe406 /drivers/usb/chipidea/ci_hdrc_msm.c
parentusb: chipidea: udc: fix misuse of REGS_SHARED and PULLUP_ON_VBUS flags (diff)
downloadkernel-qcow2-linux-d268e9bc23f5df4a2f4167da246d277c2a468d3d.tar.gz
kernel-qcow2-linux-d268e9bc23f5df4a2f4167da246d277c2a468d3d.tar.xz
kernel-qcow2-linux-d268e9bc23f5df4a2f4167da246d277c2a468d3d.zip
usb: chipidea: retire flag CI_HDRC_PULLUP_ON_VBUS
Currently, the controller only runs when the ci->vbus_active is true. So the flag CI_HDRC_PULLUP_ON_VBUS is useless no longer. If the user doesn't have otgsc, he/she needs to change ci_handle_vbus_change to update ci->vbus_active. Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/ci_hdrc_msm.c')
-rw-r--r--drivers/usb/chipidea/ci_hdrc_msm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c b/drivers/usb/chipidea/ci_hdrc_msm.c
index fb657ef50a9c..2d51d852b474 100644
--- a/drivers/usb/chipidea/ci_hdrc_msm.c
+++ b/drivers/usb/chipidea/ci_hdrc_msm.c
@@ -49,7 +49,6 @@ static struct ci_hdrc_platform_data ci_hdrc_msm_platdata = {
.name = "ci_hdrc_msm",
.flags = CI_HDRC_REGS_SHARED |
CI_HDRC_REQUIRE_TRANSCEIVER |
- CI_HDRC_PULLUP_ON_VBUS |
CI_HDRC_DISABLE_STREAMING,
.notify_event = ci_hdrc_msm_notify_event,