diff options
author | Felipe Balbi <balbi@ti.com> | 2013-04-29 13:02:24 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-05-28 20:02:57 +0400 |
commit | 6d349671174c5da77835dd1b82e874508167f57b (patch) | |
tree | 6561064a4535259140b9be9806da535e58583f80 /drivers/usb/musb/musb_virthub.c | |
parent | 09fc7d22b024692b2fe8a943b246de1af307132b (diff) | |
download | linux-6d349671174c5da77835dd1b82e874508167f57b.tar.xz |
usb: musb: remove 'ignore_disconnect' flag
This was related to an old bug on early versions
of TUSB6010 which we don't support anymore.
It's known to cause issues on several other
situations with more recent devices so we
better remove this flag now and come up
with a better workaround should one be deemed
necessary.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_virthub.c')
-rw-r--r-- | drivers/usb/musb/musb_virthub.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/musb/musb_virthub.c b/drivers/usb/musb/musb_virthub.c index ef7d11045f56..17c6c0da77db 100644 --- a/drivers/usb/musb/musb_virthub.c +++ b/drivers/usb/musb/musb_virthub.c @@ -145,7 +145,6 @@ static void musb_port_reset(struct musb *musb, bool do_reset) msleep(1); } - musb->ignore_disconnect = true; power &= 0xf0; musb_writeb(mbase, MUSB_POWER, power | MUSB_POWER_RESET); @@ -158,8 +157,6 @@ static void musb_port_reset(struct musb *musb, bool do_reset) musb_writeb(mbase, MUSB_POWER, power & ~MUSB_POWER_RESET); - musb->ignore_disconnect = false; - power = musb_readb(mbase, MUSB_POWER); if (power & MUSB_POWER_HSMODE) { dev_dbg(musb->controller, "high-speed device connected\n"); |