On 3/10/21 7:35 AM, Mark Brown wrote:
On Tue, Mar 09, 2021 at 01:41:45PM -0600, Pierre-Louis Bossart wrote:
The problem is that the cards are platform devices created by the parent
(which itself may be a PCI or ACPI device) and have nothing to do with ACPI.
Could we flip the logic and instead explicitly detect OF devices? That
restores functionality for us.
Just change it to a system level check for ACPI, checking for OF would
leave problems for board files or any other alternative firmware
interfaces.
did you mean if (!IS_ENABLED(CONFIG_ACPI)) ?