[PATCH V2] ASoC: soc-core: Prevent warning if no DMI table is present

Mark Brown broonie at kernel.org
Wed Mar 10 21:16:22 CET 2021


On Wed, Mar 10, 2021 at 07:17:13PM +0000, Jon Hunter wrote:
> On 10/03/2021 18:37, Pierre-Louis Bossart wrote:

> > +EXPORT_SYMBOL_GPL(dmi_available);

> > -       if (!is_acpi_device_node(card->dev->fwnode))
> > +       if (!dmi_available)

> Sounds good to me. I would have done the same if I had known that the
> current solution would have caused this regression.

Yes, this looks good.
-------------- 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/967b67c3/attachment.sig>


More information about the Alsa-devel mailing list