]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: p1022ds: fix incorrect referencing of device tree properties
authorTimur Tabi <timur@freescale.com>
Wed, 8 Jun 2011 20:02:55 +0000 (15:02 -0500)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 9 Jun 2011 11:02:08 +0000 (12:02 +0100)
commit147dfe90f7302f2472d83c25b983420a727aec5a
treefa9831c366b9b6b9e30f0976895c1855440f3ec0
parent995e54f5fe4606043e695cd3327b18fcfc88bc62
ASoC: p1022ds: fix incorrect referencing of device tree properties

Device tree integer properties are encoded in big-endian format, but some of
the Freescale ASoC drivers were assuming that the host is in big-endian format
as well.  Although this is true, it's better to use endian-safe accessors.

Also add a check for a failed ioremap() call in the SSI driver.

Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/fsl_dma.c
sound/soc/fsl/fsl_ssi.c
sound/soc/fsl/mpc8610_hpcd.c
sound/soc/fsl/p1022_ds.c