bmips: add new target
[openwrt/openwrt.git] / target / linux / bmips / patches-5.10 / 300-usb-host-generic-ehci-ignore-oc-device-tree.patch
1 --- a/drivers/usb/host/ehci-platform.c
2 +++ b/drivers/usb/host/ehci-platform.c
3 @@ -286,6 +286,9 @@ static int ehci_platform_probe(struct pl
4 if (of_property_read_bool(dev->dev.of_node, "big-endian"))
5 ehci->big_endian_mmio = ehci->big_endian_desc = 1;
6
7 + if (of_property_read_bool(dev->dev.of_node, "ignore-oc"))
8 + ehci->ignore_oc = 1;
9 +
10 if (of_property_read_bool(dev->dev.of_node,
11 "needs-reset-on-resume"))
12 priv->reset_on_resume = true;