]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: ten64: add missing error checks for retimer power on
authorMathew McBride <matt@traverse.com.au>
Mon, 7 Aug 2023 01:41:08 +0000 (01:41 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 7 Aug 2023 17:41:44 +0000 (13:41 -0400)
commit29760c8e6d3a3d02a23439f62b7e663e0c38eb3b
tree3fcf8562d0094762890781f0e219d9f7a3257e17
parent3cc7708dfdc8fec28a7bcd1b06717b7d510e235a
board: ten64: add missing error checks for retimer power on

The retimer reset/power on logic was changed in a recent commit,
however, it neglected to check if the commands sent to the
board microcontroller (to control power to the retimer chip)
actually completed.

Add return checks for these operations so any failures will
be reported to the user.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Fixes: 7a041fea2 ("board: traverse: ten64: ensure retimer reset
is done on new board revisions")
board/traverse/ten64/ten64.c