Home
last modified time | relevance | path

Searched hist:"8 f1ec93ae94e95e717283575997dd134a4c5397f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/soc/
H A Dsoc-core.cdiff 8f1ec93ae94e95e717283575997dd134a4c5397f Fri Nov 29 07:33:11 CST 2013 Charles Keepax <ckeepax@opensource.wolfsonmicro.com> 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>