projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b8de8a
)
mfd: rave-sp: Add legacy watchdog ping command translation
author
Andrey Smirnov
<andrew.smirnov@gmail.com>
Sat, 7 Jul 2018 02:41:07 +0000
(19:41 -0700)
committer
Lee Jones
<lee.jones@linaro.org>
Fri, 27 Jul 2018 07:13:25 +0000
(08:13 +0100)
This is needed to make rave-sp-wdt driver to properly ping the
watchdog on "legacy" firmware.
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
a999fa7
..
eee62ba
100644
(file)
--- a/
drivers/mfd/rave-sp.c
+++ b/
drivers/mfd/rave-sp.c
@@
-631,6
+631,8
@@
static int rave_sp_default_cmd_translate(enum rave_sp_command command)
return 0x14;
case RAVE_SP_CMD_SW_WDT:
return 0x1C;
+ case RAVE_SP_CMD_PET_WDT:
+ return 0x1D;
case RAVE_SP_CMD_RESET:
return 0x1E;
case RAVE_SP_CMD_RESET_REASON: