Messages in this thread | | | Subject | Re: [PATCH V2] ASoC: soc-core: Prevent warning if no DMI table is present | From | Pierre-Louis Bossart <> | Date | Wed, 10 Mar 2021 09:44:07 -0600 |
| |
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)) ?
| |