[alsa-devel] [PATCH 2/2] ASoC: fsl/powerpc: don't rely on the cell-index property

Tabi Timur-B04825 B04825 at freescale.com
Fri Dec 2 13:14:44 CET 2011


Timur Tabi wrote:
> 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 at freescale.com>

Mark,

Can you hold off on applying patch #2 for the moment?  I just thought of 
something that I want to try first.

Patch #1 is good to go, though.


-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the Alsa-devel mailing list