ehci: fix port connect status programming
authorAjay Kumar Gupta <ajay.gupta@ti.com>
Fri, 16 Oct 2009 01:14:08 +0000 (18:14 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 16 Oct 2009 01:14:08 +0000 (18:14 -0700)
Current programming takes the default vaule of HSUSB port status
from UHH_HOSTCONFIG and write back the same to UHH_HOSTCONFIG
without updating.

This patch updates the port status based on board configuration.

Without this patch EHCI port becomes unusable on OMAP3EVM when a
USB HDD is connected to it through a HS HUB and we get below
error message,

"hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?"

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found