usb: ehci-mx6: Do not fail when 'reg' is not found
[platform/kernel/u-boot.git] / drivers / usb / host / ehci-mx6.c
index 48b5c8b..c3e4170 100644 (file)
@@ -583,7 +583,7 @@ static int mx6_parse_dt_addrs(struct udevice *dev)
 
        addr = (void __iomem *)fdtdec_get_addr(blob, phy_off, "reg");
        if ((fdt_addr_t)addr == FDT_ADDR_T_NONE)
-               return -EINVAL;
+               addr = NULL;
 
        priv->phy_addr = addr;