Re: [PATCH v3 2/6] ACPI: scan: Add function to fetch dependent of acpi device

2021-02-22 Thread Andy Shevchenko
On Mon, Feb 22, 2021 at 3:11 PM Daniel Scally wrote: > > In some ACPI tables we encounter, devices use the _DEP method to assert > a dependence on other ACPI devices as opposed to the OpRegions that the > specification intends. We need to be able to find those devices "from" > the dependee, so add

[PATCH v3 2/6] ACPI: scan: Add function to fetch dependent of acpi device

2021-02-22 Thread Daniel Scally
In some ACPI tables we encounter, devices use the _DEP method to assert a dependence on other ACPI devices as opposed to the OpRegions that the specification intends. We need to be able to find those devices "from" the dependee, so add a callback and a wrapper to walk over the acpi_dep_list and ret