firmware: Sigma: Fix endianess issues
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 28 Nov 2011 08:44:16 +0000 (09:44 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 29 Nov 2011 11:59:50 +0000 (11:59 +0000)
commitbda63586bc5929e97288cdb371bb6456504867ed
tree3e3bf8635b430858b44e43dd8b8c8cfd682fe8c5
parentc56935bdc0a8edf50237d3b0205133a5b0adc604
firmware: Sigma: Fix endianess issues

Currently the SigmaDSP firmware loader only works correctly on little-endian
systems. Fix this by using the proper endianess conversion functions.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
drivers/firmware/sigma.c
include/linux/sigma.h