]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: chipidea: move hw_phymode_configure() into probe
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 25 Jul 2013 21:20:34 +0000 (18:20 -0300)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:47 +0000 (09:54 +0800)
commit206bae4c867772f084c42fcc510ddf920e4f9d0b
treeff7e43886e8450c6ed4f811afd8451ddc37ea866
parent357c3f1561d35bd2eede1ae3129697ca353c69ae
usb: chipidea: move hw_phymode_configure() into probe

Currently hw_phymode_configure() is located inside hw_device_reset(), which is
only called by chipidea udc driver.

When operating in host mode, we also need to call hw_phymode_configure() in
order to properly configure the PHY mode, so move this function into probe.

After this change, USB Host1 port on mx53qsb board is functional.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Tested-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Reviewed-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
drivers/usb/chipidea/core.c