From: Heikki Krogerus <heikki.kroge...@linux.intel.com> Sharing the ACPI companion with dwc3 core so it has access to the properties defined for DWC3 in ACPI tables.
Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com> Signed-off-by: Felipe Balbi <ba...@ti.com> (cherry picked from commit 9caeb06ebd4687bc40a67d94facabb2d31c702ce) Signed-off-by: Wan Ahmad Zainie <wan.ahmad.zainie.wan.moha...@intel.com> --- drivers/usb/dwc3/dwc3-pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c index fcdbd13..5e7be53 100644 --- a/drivers/usb/dwc3/dwc3-pci.c +++ b/drivers/usb/dwc3/dwc3-pci.c @@ -165,6 +165,7 @@ static int dwc3_pci_probe(struct pci_dev *pci, goto err; dwc3->dev.parent = dev; + ACPI_COMPANION_SET(&dwc3->dev, ACPI_COMPANION(dev)); ret = platform_device_add(dwc3); if (ret) { -- 1.9.1 -- _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto