Re: [PATCH v2] ACPI / bus: Respect PRP0001 when retrieving device match data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 25, 2019 at 8:22 PM Mika Westerberg
<mika.westerberg@xxxxxxxxxxxxxxx> wrote:
>
> On Mon, Feb 25, 2019 at 06:05:39PM +0300, Andy Shevchenko wrote:
> > In case of PRP0001 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 above, try acpi_of_match_device() if there is no ACPI table in the
> > driver.
> >
> > Anyway, note that the device is supposed to get its own proper ACPI ID.
> >
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
>
> Acked-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>

Patch applied, thanks!



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux