]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: chipidea: put hw_phymode_configure before ci_usb_phy_init
authorChris Ruehl <chris.ruehl@gtsys.com.hk>
Fri, 10 Jan 2014 05:51:30 +0000 (13:51 +0800)
committerPeter Chen <peter.chen@freescale.com>
Thu, 16 Jan 2014 08:55:22 +0000 (16:55 +0800)
commit6cf1375d32049b7d852131d232ec97e76535a2e0
tree3cceb5a951d1125af5d51b43b418e5f265643899
parentef6d881d31464b60bae2df538ec6074eff6181ae
usb: chipidea: put hw_phymode_configure before ci_usb_phy_init

hw_phymode_configure configures the PORTSC registers and allow the
following phy_inits to operate on the right parameters. This fix a problem
where the UPLI (ISP1504) could not be detected, because the Viewport was not
available and read the viewport return 0's only.

Signed-off-by: Chris Ruehl <chris.ruehl@gtsys.com.hk>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit fda8a80b7e944ec29f4438d6e6f159f691ae41a6)
drivers/usb/chipidea/core.c