ASoC: p1022ds: add support for fsl,P1022 and fsl,P1022DS model names
authorTimur Tabi <timur@freescale.com>
Fri, 2 Dec 2011 01:52:46 +0000 (19:52 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 2 Dec 2011 10:37:17 +0000 (10:37 +0000)
commita806aa9207ad59933464efbe6009394723713c0d
tree4a120f350c9ab924938c8d672cbb5c324c30cc73
parent6f526f0a86dbb22fd2fc5a873f55c9e2341a79c0
ASoC: p1022ds: add support for fsl,P1022 and fsl,P1022DS model names

Commit ab827d97 ("powerpc/85xx: Rework P1022DS device tree") renamed the
the /model property of the P1022DS device tree from "fsl,P1022" to
"fsl,P1022DS".  To support both old and new device trees, the ASoC
machine driver for the P1022DS needs to query the /model property and
update the platform driver object dynamically.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/p1022_ds.c