]> git.dujemihanovic.xyz Git - u-boot.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)
commitbb6ea0fe9290b4d64df8e716b58515b5325c2ea5
tree31d23e8c39e139c12e2c60271f75c8a0075252bc
parent61712787651bab960f43981de5cc05e07288e6b0
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