]> git.dujemihanovic.xyz Git - u-boot.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)
commita47164dfc1ef899ef9ddc6d8f2a17f0e9e90ef34
tree2be8e2916284f13f29cda0f75c01eeeb3ffad485
parent49d8cc4cbe18c7ffdc7e9699b9b64545288ecb1f
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