summaryrefslogtreecommitdiff
path: root/sound/soc/soc-devres.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2013-11-29 13:33:11 (GMT)
committerMark Brown <broonie@linaro.org>2013-11-29 15:09:44 (GMT)
commit8f1ec93ae94e95e717283575997dd134a4c5397f (patch)
tree98565edd56b352119cadefbae12b1a1fc1663258 /sound/soc/soc-devres.c
parent78e45c99f6d470e6069c8669ee533c97cc5fd296 (diff)
downloadlinux-8f1ec93ae94e95e717283575997dd134a4c5397f.tar.xz
ASoC: core: Use consistent byte ordering in snd_soc_bytes_get
snd_soc_bytes_put treats the data in the binary control as big endian words, however snd_soc_bytes_get uses the endian of the host machine. This causes the two functions to be inconsistant with how the mask is applied on little endian machines. This patch applies the big_endian format used in snd_soc_bytes_put to snd_soc_bytes_get. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/soc-devres.c')
0 files changed, 0 insertions, 0 deletions