projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d12891
)
usb: dwc3: pci: passing forward the ACPI companion
author
Heikki Krogerus
<heikki.krogerus@linux.intel.com>
Mon, 21 Sep 2015 08:14:36 +0000
(11:14 +0300)
committer
Felipe Balbi
<balbi@ti.com>
Sun, 27 Sep 2015 15:54:31 +0000
(10:54 -0500)
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>
drivers/usb/dwc3/dwc3-pci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/dwc3/dwc3-pci.c
b/drivers/usb/dwc3/dwc3-pci.c
index f62617999f3c7fb093ff09d18088560a6ecb003e..89eb3642a78e565fd94a320e546fe06e651c674b 100644
(file)
--- a/
drivers/usb/dwc3/dwc3-pci.c
+++ b/
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) {