[PATCH v3 0/3] rockchip: fix efuse/otp misc_read return values

John Keeping john at metanate.com
Mon Mar 27 13:01:07 CEST 2023


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

In v3 there is a new initial patch to fix the one place that uses this
return value to correctly check for negative error returns.  The other
two patches are unchanged from v2.

John Keeping (3):
  rockchip: misc: fix misc_read() return check
  rockchip: efuse: fix misc_read() return values
  rockchip: otp: fix misc_read() return values

 arch/arm/mach-rockchip/misc.c |  2 +-
 drivers/misc/rockchip-efuse.c | 12 ++++++++----
 drivers/misc/rockchip-otp.c   | 12 ++++++++----
 3 files changed, 17 insertions(+), 9 deletions(-)

-- 
2.40.0



More information about the U-Boot mailing list