usb: dwc3: pci: make build-in device properties available
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Fri, 22 Apr 2016 08:17:37 +0000 (11:17 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 28 Apr 2016 06:01:59 +0000 (09:01 +0300)
commit474799f073763b868e158b04b74f8ddd1da38da2
treeb26efcd3d2168609ad872c40cf10b488b2d5727c
parentae411413760785a0a2ce6cb44d5afe95115aa24d
usb: dwc3: pci: make build-in device properties available

Setting the ACPI companion before calling dwc3_pci_quirks.
The ACPI companion will be set unconditionally as the
primary fwnode, overriding any previously set primary
fwnode. This will make sure that any build-in properties
added to the platform device will be added as the secondary
fwnode in cases where also ACPI companion exists.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/dwc3-pci.c