]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6eb129f2b8e596530a78f453ebcc9c3fb2563ec8
tree4a120f350c9ab924938c8d672cbb5c324c30cc73
parentab34339f3267ca48704c191659ebcdff75c70e9f
ASoC: p1022ds: add support for fsl,P1022 and fsl,P1022DS model names

Commit 23b7e935 ("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