[alsa-devel] [PATCH] ASoC: rt5514: The ACPI also should use the function rt5514_parse_dp()
Mark Brown
broonie at kernel.org
Thu Nov 2 12:30:22 CET 2017
On Thu, Nov 02, 2017 at 07:21:16PM +0800, Oder Chiou wrote:
> - else if (i2c->dev.of_node)
> - rt5514_parse_dt(rt5514, &i2c->dev);
> + else
> + rt5514_parse_dp(rt5514, &i2c->dev);
Should this be changed to i2c->dev.of_node || ACPI_HANDLE(&i2c->dev) or
will the function cope fine if there are no properties at all?
-------------- 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/20171102/cb7153e6/attachment-0001.sig>
More information about the Alsa-devel
mailing list