firmware: Sigma: Fix endianess issues
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 28 Nov 2011 08:44:16 +0000 (09:44 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Dec 2011 16:54:34 +0000 (08:54 -0800)
commitbdbee02fb09ff4278de3c4656689261ee9647007
treed678a41fc2b40bae944e9fba5a9a72b3ca09c30b
parent2a323db413fbe17c15cd60376d012f2ee2659f8d
firmware: Sigma: Fix endianess issues

commit bda63586bc5929e97288cdb371bb6456504867ed upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/firmware/sigma.c
include/linux/sigma.h