On Fri, 07 Jun 2024 16:05:10 +0000, Joy Chakraborty wrote: > reg_read() callback registered with nvmem core expects 0 on success and > a negative value on error but rmem_read() returns the number of bytes > read which is treated as an error at the nvmem core. > > This does not break when rmem is accessed using sysfs via > bin_attr_nvmem_read()/write() but causes an error when accessed from > places like nvmem_access_with_keepouts(), etc. > > [...] Applied, thanks! [1/1] nvmem: rmem: Fix return value of rmem_read() commit: 139eb4bb33a2857fe439c02a201a85af52ce6186 Best regards, -- Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>