[PATCH v2] sysreset: gpio: fix gpio_reboot_request return value

Simon Glass sjg at chromium.org
Sat Apr 1 08:09:00 CEST 2023


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

Signed-off-by: Jonathan Liu <net147 at gmail.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
 drivers/sysreset/sysreset_gpio.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list