]> git.baikalelectronics.ru Git - kernel.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)
commitea27653acdda36d9a16b780f13d4a33f62177e55
treefa9831c366b9b6b9e30f0976895c1855440f3ec0
parent170dd1f1714546ce5c0418f4c3e2d782be15eae2
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