]> git.baikalelectronics.ru Git - kernel.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)
commit3e2b698f0da05268f042ab42642beebcacbdffe4
tree800657f58baa200390d58a8b0d348a3a7c590b88
parent5fbe57ed58da96e30bb94473990b186a53f31e15
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