[PATCH 6/6] ASoC: fsl: check property 'compatible' for the machine name
Shawn Guo
shawn.guo at linaro.org
Mon Feb 27 20:50:15 EST 2012
On Mon, Feb 27, 2012 at 03:54:01PM -0600, Timur Tabi wrote:
> 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".
>
Since I was asked by Mark to use new binding for new machine driver,
I would drop this patch and keep PowerPC machine drivers working with
/model property.
--
Regards,
Shawn
More information about the linux-arm-kernel
mailing list