Skip to content

Commit

Permalink
mfd: rave-sp: Add legacy watchdog ping command translation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrey Smirnov authored and Lee Jones committed Jul 27, 2018
1 parent 2b8de8a commit 405dfd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/mfd/rave-sp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 405dfd4

Please sign in to comment.