]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
cgtqmx6eval: Improve the error handling
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 23 Jul 2015 14:02:22 +0000 (11:02 -0300)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:49:07 +0000 (13:49 +0200)
commit28fbeea7bf01218ed5082ebe5b5b7eaf0bd4b098
tree34d27e15e4d985acb16fc0d47f8bfeb8d512c2cb
parentea9d555be7926c69959264b53a7ceabe08d6c523
cgtqmx6eval: Improve the error handling

Perfoming an OR operation on the error is not a good approach.

Return the error immediately for each ESDHC instance instead.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
board/congatec/cgtqmx6eval/cgtqmx6eval.c