commit | d8865f8677c6dd43109e22bfbb85a3cd6bf6aca1 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Wed Mar 02 11:49:18 2022 +0100 |
committer | Stefan Roese <sr@denx.de> | Fri Mar 04 13:11:42 2022 +0100 |
tree | bcf2bc4f0a189df19a8ef7d4ca1f1664f96b0174 | |
parent | 0a6f0297c677946907b7ba34d34995fe03055aad [diff] |
tools: kwboot: Check for return value of kwboot_tty_send() and tcflush() Failure of kwboot_tty_send() and tcflush() functions is fatal, it does not make sense to continue. So return error back to the caller like in other places where are called these functions. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de>