UPSTREAM: 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)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 16 Aug 2016 12:48:19 +0000 (20:48 +0800)
commitfec7e1e4e6e49c1937505ce0f18405826a0ed825
tree57eeb73504a13fd0d44017de5d1620868cacd8bd
parentfd219f74f1fe1cddf84aac1e902f61e7df2b6de5
UPSTREAM: 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.

Change-Id: Ib1a5ff15cc644f8c42e6dccf7c5cf0368857e9c8
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
(cherry picked from commit 474799f073763b868e158b04b74f8ddd1da38da2)
drivers/usb/dwc3/dwc3-pci.c