ASoC: sigmadsp: Fix endianness conversion
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 21 Nov 2014 17:53:52 +0000 (18:53 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 21 Nov 2014 18:17:50 +0000 (18:17 +0000)
commit1fc10044d76e86b71f724988c7cbd8205bb903a8
treefc30631aebb95ea9f0f89c85dc1fdeb0315c66ea
parentdee9cec42fc9cc4635ea2f45939e443210a638f8
ASoC: sigmadsp: Fix endianness conversion

Make sure to always convert the firmware data to local endianness before
using it.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: a35daac77a03 ("ASoC: sigmadsp: Add support for fw v2")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sigmadsp.c