]> git.baikalelectronics.ru Git - uboot.git/commit
usb: ehci-mx6: move phy setup before register access
authorTim Harvey <tharvey@gateworks.com>
Fri, 28 Apr 2023 18:50:30 +0000 (11:50 -0700)
committerStefano Babic <sbabic@denx.de>
Tue, 2 May 2023 08:57:32 +0000 (10:57 +0200)
commit872717bafed22b5b419c32850a2071401bd153f6
tree31d23e8c39e139c12e2c60271f75c8a0075252bc
parentb13c274f39c1ab4989a629156606e83108909438
usb: ehci-mx6: move phy setup before register access

For the CONFIG_PHY case, move the PHY setup before the register access.

This avoids a hang when updating the imx8mm.dtsi which moves the
USB OTG power-domains to the PHY.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Tested-by: Fabio Estevam <festevam@denx.de>
drivers/usb/host/ehci-mx6.c