[alsa-devel] [PATCH 6/6] ASoC: fsl: check property 'compatible' for the machine name

Timur Tabi timur at freescale.com
Mon Feb 27 22:54:01 CET 2012


Shawn Guo wrote:
> The fsl_ssi probe function detects the client machine name using model
> property of the device tree.  But it will not work for the ARM client
> machines which are to be added.  The model property is given as a
> descriptive string on all ARM device tree (arch/arm/boot/*.dts).
> Instead, the compatible property gives the machine name.

If you apply this change to the P1022DS as well, then you can eliminate
the need to check for "P1022" and "P1022DS", since the compatible string
in the P1022DS DTS has always said, "fsl,P1022DS".

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the Alsa-devel mailing list