OSDN Git Service

ASoC: fsl: check property 'compatible' for the machine name
authorShawn Guo <shawn.guo@linaro.org>
Thu, 8 Mar 2012 16:59:46 +0000 (00:59 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 9 Mar 2012 11:38:12 +0000 (11:38 +0000)
commit2b81ec69144de93f29fa258d3435557a5773ffb5
treef5d563ede6fdbef43fec6249ad266a644aa5ba56
parent5b596483936230b926898efe10f9cc258d5ed092
ASoC: fsl: check property 'compatible' for the machine name

Check /compatible rather than /model to determine the machine name.
The p1022ds older device trees get a different /model from the new
ones, while /compatible is consistent there, so checking /compatible
will save the bother of detecting older p1022ds device trees.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/fsl_ssi.c
sound/soc/fsl/mpc8610_hpcd.c
sound/soc/fsl/p1022_ds.c