summaryrefslogtreecommitdiff
path: root/drivers/cache
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2023-03-27 12:01:09 +0100
committerKever Yang <kever.yang@rock-chips.com>2023-04-21 15:16:01 +0800
commita48d13535a40b818f76c659602be70db6ebaa07a (patch)
tree630ea19c4bcc449f61e1b54608e18ee4fdc1df59 /drivers/cache
parent999680c4ed80e21e014e94c9bdb79c45a5a5a853 (diff)
rockchip: efuse: fix misc_read() return values
The documentation for misc_read() says: Return: number of bytes read if OK (may be 0 if EOF), -ve on error The Rockchip efuse driver implements this so it should return the number of bytes read rather than zero on success. Fix this so that the driver follows the usual contract for read operations. Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: John Keeping <john@metanate.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'drivers/cache')
0 files changed, 0 insertions, 0 deletions