diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-05-10 23:55:21 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-05-11 15:55:45 +0200 |
commit | 063b7cc43fb2413238095b81f9b4a2ee2c52056b (patch) | |
tree | bf5c65f30a4f67f41cc3544e10c57696ea9b3173 /usr | |
parent | 051e994e9506e64259df34e91b028fe2470fbf2a (diff) | |
download | linux-next-063b7cc43fb2413238095b81f9b4a2ee2c52056b.tar.gz |
ASoC: Remove byte swap in 4x12 SPI write
snd_soc_4_12_spi_write() contains a byte swap. Since this code was written
for an Analog CODEC on a Blackfin reference board it appears that this is
done because while Blackfin is little endian the CODEC is big endian (as
are most CODECs).
Push this up into the generic 4x12 write function and use cpu_to_be16() to
do the byte swap so things are more regular and things work on both CPU
endiannesses.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions