]> git.sur5r.net Git - u-boot/commit
cgtqmx6eval: Improve the error handling
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 23 Jul 2015 14:02:22 +0000 (11:02 -0300)
committerStefano Babic <sbabic@denx.de>
Sun, 26 Jul 2015 10:21:58 +0000 (12:21 +0200)
commit516a863ef43f443ca1d878bf6d829875e337f3db
tree1ec06bf82e63ee0950717533bf7d61bd0ee103dc
parent6b3496f7babd0d1b1c30eb1b444246fc7b733a3b
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