firmware: Sigma: Skip header during CRC generation
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 28 Nov 2011 08:44:15 +0000 (09:44 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Dec 2011 16:54:34 +0000 (08:54 -0800)
commit2a323db413fbe17c15cd60376d012f2ee2659f8d
tree8bc1dfa04e08d40d27991feefffd2fbc6baec78d
parent3b958a46b7e81c432d7d6ef00ee4bd51ef2d39e2
firmware: Sigma: Skip header during CRC generation

commit c56935bdc0a8edf50237d3b0205133a5b0adc604 upstream.

The firmware header is not part of the CRC, so skip it. Otherwise the firmware
will be rejected due to non-matching CRCs.

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