projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
763c43f
)
mfd: rave-sp: Fix incorrectly specified checksum type
author
Andrey Smirnov
<andrew.smirnov@gmail.com>
Sat, 7 Jul 2018 02:41:04 +0000
(19:41 -0700)
committer
Lee Jones
<lee.jones@linaro.org>
Fri, 27 Jul 2018 07:13:25 +0000
(08:13 +0100)
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
patch
|
blob
|
history
diff --git
a/drivers/mfd/rave-sp.c
b/drivers/mfd/rave-sp.c
index
dfa4f5f
..
a90ec49
100644
(file)
--- a/
drivers/mfd/rave-sp.c
+++ b/
drivers/mfd/rave-sp.c
@@
-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,
},