firmware: Sigma: Fix endianess issues
commitf90312c8cf03b2294f6840c7dc01236838896acc
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 28 Nov 2011 08:44:16 +0000 (28 09:44 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Dec 2011 16:52:39 +0000 (9 08:52 -0800)
tree1da5b6b751d3986c20ebae062ddfc1b80b2620c1
parentcd319e4350715b72939eec5c526ab60bd02b5229
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