[alsa-devel] [PATCH 2/2] ASoC: rt5677: Switch to use unified device property API

Mark Brown broonie at kernel.org
Tue Jun 23 00:50:31 CEST 2015


On Tue, Jun 23, 2015 at 12:18:54AM +0200, Pierre-Louis Bossart wrote:
> On 6/22/15 8:13 PM, Ben Zhang wrote:

> >+	rt5677->pdata.in1_diff = device_property_read_bool(dev,
> >+			"realtek,in1-differential");

> Shouldn't it be device_property_present() ?

At least on the DT side they should be equivalent - I don't know if ACPI
works differently?

> thanks for starting this transition, this will be very useful for ACPI-based
> solutions.

Have the Intel audio people been speaking to the UEFI forum about using
the new registration process for these properties?  More from interest
than anything else.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150622/16daccfa/attachment.sig>


More information about the Alsa-devel mailing list