Merge git://git.denx.de/u-boot-usb

This commit is contained in:
Tom Rini 2018-04-22 09:30:36 -04:00
commit 275d80a4c2
2 changed files with 4 additions and 2 deletions

View file

@ -23,7 +23,8 @@ config USB_XHCI_DWC3
config USB_XHCI_DWC3_OF_SIMPLE
bool "DesignWare USB3 DRD Generic OF Simple Glue Layer"
select MISC
depends on DM_USB
default y if DRA7XX
help
Support USB2/3 functionality in simple SoC integrations with
USB controller based on the DesignWare USB3 IP Core.

View file

@ -50,7 +50,7 @@ static int dwc3_of_simple_clk_init(struct udevice *dev,
int ret;
ret = clk_get_bulk(dev, &simple->clks);
if (ret == -ENOTSUPP)
if (ret == -ENOSYS)
return 0;
if (ret)
return ret;
@ -95,6 +95,7 @@ static int dwc3_of_simple_remove(struct udevice *dev)
static const struct udevice_id dwc3_of_simple_ids[] = {
{ .compatible = "amlogic,meson-gxl-dwc3" },
{ .compatible = "ti,dwc3" },
{ }
};