[PATCH v2 0/2] rockchip: fix efuse/otp misc_read return values

John Keeping john at metanate.com
Mon Mar 20 18:18:20 CET 2023


Fix the return value for misc_read() in the two Rockchip nvmem drivers
so that they return the number of bytes read.

In v2 the rockchip-efuse patch is change to correctly handle
block_size > 1 and the rockchip-otp patch is new.

John Keeping (2):
  rockchip: efuse: fix misc_read() return values
  rockchip: otp: fix misc_read() return values

 drivers/misc/rockchip-efuse.c | 12 ++++++++----
 drivers/misc/rockchip-otp.c   | 12 ++++++++----
 2 files changed, 16 insertions(+), 8 deletions(-)

-- 
2.40.0



More information about the U-Boot mailing list