mfd: rave-sp: Fix incorrectly specified checksum type

RAVE SP firmware covered by "legacy" variant uses 16-bit CCITT
checksum algorithm. Change the code to correctly reflect that.

Signed-off-by: Andrey Smirnov <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
This commit is contained in:
Andrey Smirnov 2018-07-06 19:41:04 -07:00 • committed by Lee Jones
commit a6e3bb0288

View file

@ -697,7 +697,7 @@ static const struct rave_sp_checksum rave_sp_checksum_ccitt = {
};
static const struct rave_sp_variant rave_sp_legacy = {
.checksum = &rave_sp_checksum_8b2c,
.checksum = &rave_sp_checksum_ccitt,
.cmd = {
.translate = rave_sp_default_cmd_translate,
},