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

Darren Hart dvhart at linux.intel.com
Tue Jun 23 02:05:37 CEST 2015


On 6/22/15, 3:50 PM, "Mark Brown" <broonie at kernel.org> wrote:

>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.

Yes (although "audio people" is a rather broad term at Intel :-)


-- 
Darren Hart
Intel Open Source Technology Center





More information about the Alsa-devel mailing list