diff options
author | Timur Tabi <timur@freescale.com> | 2011-12-02 02:52:47 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-02 11:37:18 +0100 |
commit | 6132725eac521b89dee3d58df3c6d04a1e50844c (patch) | |
tree | 994019cc02aacabc13f06353b91ee3525c47b0c6 /scripts/Makefile.host | |
parent | ASoC: p1022ds: add support for fsl,P1022 and fsl,P1022DS model names (diff) | |
download | linux-6132725eac521b89dee3d58df3c6d04a1e50844c.tar.xz linux-6132725eac521b89dee3d58df3c6d04a1e50844c.zip |
ASoC: fsl/powerpc: don't rely on the cell-index property
Instead of using the 'cell-index' property in the I2C adapter node to
determine the adapter number, just query the i2c_adapter object directly.
Previously, the I2C nodes always appeared in cell-index order, so the
dynamic numbering coincided with the cell-index property. With commit
ab827d97 ("powerpc/85xx: Rework P1022DS device tree"), the I2C nodes are
unintentionally reversed in the device tree, and so the machine driver
guesses the wrong I2C adapter number.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'scripts/Makefile.host')
0 files changed, 0 insertions, 0 deletions