Messages in this thread | | | Date | Tue, 24 Jul 2018 15:30:26 +0200 (CEST) | From | Nikolaus Voss <> | Subject | Re: [PATCH v2] ACPI: bus.c: Let acpi_device_get_match_data() return DT compatibility data |
| |
On Wed, 4 Jul 2018, Andy Shevchenko wrote: > On Tue, Jul 3, 2018 at 9:09 AM, Nikolaus Voss <nv@vosn.de> wrote: >> When using ACPI with ACPI_DT_NAMESPACE_HID/ PRP0001 HID and referring to >> of_device_id table "compatible" strings in DSD, a pointer to the >> corresponding DT table entry should be returned instead of a null >> pointer. An acpi_device_id match still takes precedence. >> > > Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> > > with a caveat that this is only an improvement for a _temporary_ > PRP0001 users like I2C or SPI slave devices. > Please, don't consider this change as a valid point to (ab)use PRP0001 > in a cases where devices are not "hotpluggable".
Will add the caveat and resend. Andy, thanks for reviewing!
Niko
| |