OSDN Git Service

mfd: rave-sp: Fix incorrectly specified checksum type
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Sat, 7 Jul 2018 02:41:04 +0000 (19:41 -0700)
committerLee Jones <lee.jones@linaro.org>
Fri, 27 Jul 2018 07:13:25 +0000 (08:13 +0100)
commita6e3bb0288e1112d03f6bdea68c18d87e6683a03
treef1f17ff637d8a2d1c81ae20a913f765f2f10f022
parent763c43f6a03c1565ceb1045889a621ed6c54784d
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 <andrew.smirnov@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/rave-sp.c