diff options
author | Heiner Kallweit <[email protected]> | 2017-03-22 22:33:53 +0100 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2017-04-24 21:41:46 +0200 |
commit | 2c8d96a46dfd45b724465e53a5a9542bcb78cfce (patch) | |
tree | 2fae42476ce51bc28c3209e07b13569c102f83df /lib/mpi/mpi-cmp.c | |
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 <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Reviewed-by: Kevin Hilman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions