commit | 2c8d96a46dfd45b724465e53a5a9542bcb78cfce | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Wed Mar 22 22:33:53 2017 +0100 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Apr 24 21:41:46 2017 +0200 |
tree | 2fae42476ce51bc28c3209e07b13569c102f83df | |
parent | 1f8066d90739ebfdf70a5debbc5fed22fdd17465 [diff] |
mmc: meson-gx: improve setting data->bytes_xfered Centralize setting data->bytes_xfered in one place and make sure that the number of transfererd bytes is set only if we receive the end-of-chain interrupt and there was no error. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Kevin Hilman <khilman@baylibre.com>