diff options
author | Fabio Estevam <festevam@denx.de> | 2021-06-20 18:00:52 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2021-06-24 21:23:23 +0300 |
commit | 4822114f4fb4328114da8ab199672656591a150d (patch) | |
tree | 48849f10fe3a63b1bc8e75a917b996fe438c33c6 /drivers/usb/host/ohci-pci.c | |
parent | ec326b932512cfe07dd97cc45480c87b903e08e3 (diff) | |
download | u-boot-4822114f4fb4328114da8ab199672656591a150d.tar.xz |
usb: ehci-mx6: Do not fail when 'reg' is not found
Unlike imx6, on imx7 the USB PHY is described as:
usbphynop1: usbphynop1 {
compatible = "usb-nop-xceiv";
clocks = <&clks IMX7D_USB_PHY1_CLK>;
clock-names = "main_clk";
#phy-cells = <0>;
};
which does not have the 'reg' property.
Do not return an error when the 'reg' property is not found
for the USB PHY.
This fixes USB gadget regression on a imx7s-warp board.
Successfully tested the "ums 0 mmc 0" command on two boards:
imx7s-warp and imx6dl-pico-pi.
Signed-off-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'drivers/usb/host/ohci-pci.c')
0 files changed, 0 insertions, 0 deletions