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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 23:55:19 +0000 (15:55 -0800)
commitcd0b42c2a6d2a74244f0053f8960f5dad5842278
treebb2cf3eec954dc45f930db827f4f0cdfe1697d9d
parent3b5d3e6845bfe68777d069886b0d1cd5f23b9d58
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>
drivers/usb/chipidea/core.c