]> git.baikalelectronics.ru Git - uboot.git/commit
usb: dwc3-meson-g12a: skip phy on -ENODATA aswell
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 5 May 2021 08:38:57 +0000 (10:38 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 14 May 2021 15:41:12 +0000 (17:41 +0200)
commit622ebed27b45f2d3ec85116ac8a63ebd1f34b79f
tree8f8a9b8eb98195cd549d7b931c54766f65d6fac5
parentfb0711916d8488e30ab844b389ffb2e01880a269
usb: dwc3-meson-g12a: skip phy on -ENODATA aswell

If the PHY isn't specified in the DT, -ENODATA means it should be skipped,
handle it like -ENOENT.

With that, devices without USB3 supported can have USB working (Odroid-HC4).

Fixes: 78e1272b8d ("usb: dwc3: Add Meson G12A USB Glue")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/usb/dwc3/dwc3-meson-g12a.c