Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9caeb06e authored by Heikki Krogerus's avatar Heikki Krogerus Committed by Felipe Balbi
Browse files

usb: dwc3: pci: passing forward the ACPI companion



Sharing the ACPI companion with dwc3 core so it has access
to the properties defined for DWC3 in ACPI tables.

Signed-off-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 3d128919
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -154,6 +154,7 @@ static int dwc3_pci_probe(struct pci_dev *pci,
		goto err;
		goto err;


	dwc3->dev.parent = dev;
	dwc3->dev.parent = dev;
	ACPI_COMPANION_SET(&dwc3->dev, ACPI_COMPANION(dev));


	ret = platform_device_add(dwc3);
	ret = platform_device_add(dwc3);
	if (ret) {
	if (ret) {