]> code.ossystems Code Review - bsp/u-boot.git/commit
cgtqmx6eval: Improve the error handling
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 23 Jul 2015 14:02:22 +0000 (11:02 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 28 Jul 2015 18:18:37 +0000 (15:18 -0300)
commit3b8bc2d9194e09b6d4da964dcd4b78c7d17b2f17
tree7aea14539c879b149076887ab2ce46c62c3dc03d
parent03d885088ef9768795925686297483dde9fc4c28
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