瀏覽代碼

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: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Heikki Krogerus 10 年之前
父節點
當前提交
9caeb06ebd
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/usb/dwc3/dwc3-pci.c

+ 1 - 0
drivers/usb/dwc3/dwc3-pci.c

@@ -154,6 +154,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) {