usb: chipidea: move ci_ulpi_init after the phy initialization
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Tue, 2 Apr 2024 06:23:43 +0000 (08:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2024 15:38:03 +0000 (17:38 +0200)
commit22ffd399e6e7aa18ae0314278ed0b7f05f8ab679
treed7b6cfbbd99cc1f78ae1d0931bdb616976dd2421
parent00bca46580611a22d430bb709df96decb03e0756
usb: chipidea: move ci_ulpi_init after the phy initialization

The function ci_usb_phy_init is already handling the
hw_phymode_configure path which is also only possible after we have
a valid phy. So we move the ci_ulpi_init after the phy initialization
to be really sure to be able to communicate with the ulpi phy.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Acked-by: Peter Chen <peter.chen@kernel.org>
Link: https://lore.kernel.org/r/20240328-chipidea-phy-misc-v1-1-907d9de5d4df@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c
drivers/usb/chipidea/ulpi.c