]> git.baikalelectronics.ru Git - uboot.git/commit
sysreset: gpio: fix gpio_reboot_request return value
authorJonathan Liu <net147@gmail.com>
Tue, 28 Mar 2023 06:44:23 +0000 (17:44 +1100)
committerSimon Glass <sjg@chromium.org>
Thu, 30 Mar 2023 19:32:52 +0000 (08:32 +1300)
commit290b2202aefb0ab93b69804f12e71c40fd5ad3e9
tree2be8e2916284f13f29cda0f75c01eeeb3ffad485
parent1e033e6b2ba7b99e38ad915a6f06a5e689fe11e6
sysreset: gpio: fix gpio_reboot_request return value

It should return -EINPROGRESS if successful otherwise sysreset-uclass
will continue to the next sysreset device.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/sysreset/sysreset_gpio.c