diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-06-20 14:16:19 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-21 14:17:36 +0400 |
commit | 0312d59130693adad85c2acfbc0b92a669930a41 (patch) | |
tree | ad8fb52e592797d21f69fd44f773a22d9370ab5c /include | |
parent | 75b82e23a4ea20a9e1a48695ff5e01761889dbb3 (diff) | |
download | linux-0312d59130693adad85c2acfbc0b92a669930a41.tar.xz |
spi: sh-msiof: Refactor sh_msiof_transfer_one()
- Move buffer pointer and length setup to the top,
- Make unsigned values unsigned,
- Loop over words and increment pointers instead of recalculating them,
which allows to kill bytes_done.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions