[PATCH] cmd: misc: Fix return value for the sleep command

Tom Rini trini at konsulko.com
Fri Jan 29 00:59:11 CET 2021


On Fri, Jan 22, 2021 at 12:27:31PM +0100, Marek Szyprowski wrote:

> If sleeping has been interrupted, return CMD_RET_FAILURE instead of -1
> (CMD_RET_USAGE).
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Jaehoon Chung <jh80.chung at samsung.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210128/066193f3/attachment.sig>


More information about the U-Boot mailing list