Files
kernel_arpi/drivers/rtc
Dan Carpenter c647cc8e58 rtc: pcf2127: fix pcf2127_nvmem_read/write() returns
[ Upstream commit ba1c30bf3f ]

These functions should return zero on success.  Non-zero returns are
treated as error.  On some paths, this doesn't matter but in
nvmem_cell_read() a non-zero return would be passed to ERR_PTR() and
lead to an Oops.

Fixes: d6c3029f32 ("rtc: pcf2127: add support for accessing internal static RAM")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20201022070451.GA2817669@mwanda
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:52:57 +01:00
..
2020-07-02 22:32:00 +02:00
2020-07-21 09:56:46 +02:00
2020-07-02 22:32:01 +02:00
2019-12-23 11:23:53 +01:00
2020-10-19 22:48:55 +02:00
2020-09-15 11:21:50 +02:00
2020-03-16 11:12:08 +01:00