diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-07-07 05:41:06 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-07-27 10:13:25 +0300 |
commit | 2b8de8a832add91a4e522536078b505283d3979f (patch) | |
tree | 8678e0eff8819de152a095c1e3e708648d312d6d /drivers | |
parent | 6c450bdf13ebe110821a74960936cec936edae49 (diff) | |
download | linux-2b8de8a832add91a4e522536078b505283d3979f.tar.xz |
mfd: rave-sp: Add legacy EEPROM access command translation
This is needed to make rave-sp-eeprom driver work 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')
-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 aa75d5841ca0..a999fa721b03 100644 --- a/drivers/mfd/rave-sp.c +++ b/drivers/mfd/rave-sp.c @@ -635,6 +635,8 @@ static int rave_sp_default_cmd_translate(enum rave_sp_command command) return 0x1E; case RAVE_SP_CMD_RESET_REASON: return 0x1F; + case RAVE_SP_CMD_RMB_EEPROM: + return 0x20; default: return -EINVAL; } |