diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-07-07 04:41:07 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-07-27 09:13:25 +0200 |
commit | 405dfd489921379fc4d44c58e7b84f5d7a39b5e1 (patch) | |
tree | d0edefd1fb739eba1aa4dada0804a1cf2c2ab34d /drivers/mfd/rave-sp.c | |
parent | mfd: rave-sp: Add legacy EEPROM access command translation (diff) | |
download | linux-405dfd489921379fc4d44c58e7b84f5d7a39b5e1.tar.xz linux-405dfd489921379fc4d44c58e7b84f5d7a39b5e1.zip |
mfd: rave-sp: Add legacy watchdog ping command translation
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>
Diffstat (limited to 'drivers/mfd/rave-sp.c')
-rw-r--r-- | drivers/mfd/rave-sp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/rave-sp.c b/drivers/mfd/rave-sp.c index a999fa721b03..eee62ba6874d 100644 --- 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: |