spi: pxa2xx-pci: fix ACPI-based enumeration of SPI devices
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 24 Aug 2016 11:11:30 +0000 (14:11 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 24 Aug 2016 11:20:03 +0000 (12:20 +0100)
commitb70cd2de0ea85f5ab51a1d01893cba6415011b9d
treefe502598bd5c4f8166b5a342932f36f828c6957d
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
spi: pxa2xx-pci: fix ACPI-based enumeration of SPI devices

Slave devices are not enumerated by ACPI data because the ACPI handle for the
core driver is NULL if it was enumerated by PCI.

Propagate firmware node handle of the PCI device to the platform device.

Suggested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx-pci.c