[PATCH V2] ASoC: soc-core: Prevent warning if no DMI table is present
Mark Brown
broonie at kernel.org
Wed Mar 10 19:16:11 CET 2021
On Wed, Mar 10, 2021 at 11:50:13AM -0600, Pierre-Louis Bossart wrote:
> On 3/10/21 10:52 AM, Mark Brown wrote:
> > Build time dependencies aren't going to help anything, arm64 (and to my
> > understanding some future x86 systems, LynxPoint IIRC) supports both DT
> > and ACPI and so you have kernels built with support for both.
> well, that's what I suggested initially:
> if (is_of_node(card->dev->fwnode))
> I used the of_node test as a proxy for 'no DMI' since I am not aware of any
> means to detect if DMI is enabled at run-time.
Can we not fix the DMI code so it lets us check dmi_available either
directly or with an accessor? I don't understand why all the proposals
are dancing around local bodges here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20210310/5310c226/attachment.sig>
More information about the Alsa-devel
mailing list