Searched hist:"4 e5eb7ef73c4c45e2e621eb51a76565153b63afe" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/rtc/ |
H A D | rtc-pcf2127.c | diff 4e5eb7ef73c4c45e2e621eb51a76565153b63afe Mon Jul 31 09:09:30 CDT 2023 Dan Carpenter <dan.carpenter@linaro.org> rtc: pcf2127: fix error code in pcf2127_enable_ts()
This error path accidentally returns success. Return -EINVAL instead.
Fixes: 420cc9e850db ("rtc: pcf2127: add support for multiple TS functions") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Bruno Thomsen <bruno.thomsen@gmail.com> Reviewed-by: Hugo Villeneuve <hugo@hugovil.com> Reviewed-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> Link: https://lore.kernel.org/r/55b9c84b-9d21-444f-b91a-cf9316b65833@moroto.mountain Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
|