diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-07-31 17:09:30 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2023-08-17 00:58:35 +0200 |
commit | 4e5eb7ef73c4c45e2e621eb51a76565153b63afe (patch) | |
tree | 0e1d71c1a1eac8652653a3d01d7fece851a38da3 /scripts/gdb/linux/tasks.py | |
parent | d890cfc25fe9421ffdff3a9ea678172addb36762 (diff) |
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>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions