diff options
| author | 2012-09-04 04:40:16 +0200 | |
|---|---|---|
| committer | 2012-09-06 07:42:11 +0800 | |
| commit | 204e706fa2ac1a62ff6423039945eb567c6c7efc (patch) | |
| tree | e314ad7d3ae45cd1302e4fb57c34944f3367d270 /tools/perf/scripts/python/sctop.py | |
| parent | mxs/spi: Fix issues when doing long continuous transfer (diff) | |
| download | wireguard-linux-204e706fa2ac1a62ff6423039945eb567c6c7efc.tar.xz wireguard-linux-204e706fa2ac1a62ff6423039945eb567c6c7efc.zip | |
mxs/spi: Increment the transfer length only if transfer succeeded
The transfer function incremented (struct spi_message)->actual_length
unconditionally, even if the transfer failed. Rectify this by incrementing
this only if transfer succeeded.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
