]> bbs.cooldavid.org Git - net-next-2.6.git/commit
USB: ehci_omap: fix device detect issue with modules
authorAjay Kumar Gupta <ajay.gupta@ti.com>
Thu, 8 Jul 2010 08:33:02 +0000 (14:03 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 21:35:39 +0000 (14:35 -0700)
commit5aa4af2ce6a0643f32d47f21614817792b85298d
tree800657f58baa200390d58a8b0d348a3a7c590b88
parent5128993b6f5f38bc567f3c246248ca29fd599132
USB: ehci_omap: fix device detect issue with modules

Currently devices don't get detected automatically if the ehci
module is inserted 2nd time onward. We need to disconnect and
reconnect the device for it to get detected and enumerated.

Resetting the USB PHY using PHY reset comamnd over ULPI fixes
this issue. Tested on OMAP3EVM.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-omap.c