Andy Shevchenko 886ca88be6 ACPI / bus: Respect PRP0001 when retrieving device match data
In the PRP0001 case, the compatible string may have additional data
affiliated with the device.  When we call device_get_match_data() on
such device, we will get nothing since currently
acpi_device_get_match_data() doesn't respect PRP0001.

To fix the above, try acpi_of_match_device() if there is no ACPI
table in the driver.

Anyway, note that the device is expected to get its own proper
ACPI ID.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2019-02-27 10:47:59 +01:00
..
2018-12-21 10:04:23 +01:00
2018-12-27 11:15:21 -08:00
2019-01-11 10:02:59 +00:00
2018-10-25 06:50:48 -07:00
2018-06-05 10:08:27 -07:00
2018-09-27 18:29:00 +02:00
2018-01-09 16:34:34 +01:00
2018-12-28 14:12:21 -08:00
2018-12-18 10:51:16 +01:00
2018-06-12 16:19:22 -07:00