]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
spl: spl_mmc: Error and count distinction
authorPaul Kocialkowski <contact@paulk.fr>
Fri, 22 May 2015 10:45:35 +0000 (12:45 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:47:08 +0000 (22:47 +0200)
commit5035ab3935358827ae3080747f4acf670dea17cb
treef47b6dd2d48a723d77137f10958b012895cd649f
parent5a9b734463447b3b93b8f1a38be228a08897bacd
spl: spl_mmc: Error and count distinction

This introduces a distinction between return codes that are read bytes counts
and errors. Read bytes counts are erroneous when null (no data was read) while
errors are erroneous when non-null.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Tested-by: Tim Harvey <tharvey@gateworks.com>
common/spl/spl_mmc.c