aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_efar.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-09-03 22:40:16 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-05 19:42:11 -0400
commit204e706fa2ac1a62ff6423039945eb567c6c7efc (patch)
treee314ad7d3ae45cd1302e4fb57c34944f3367d270 /drivers/ata/pata_efar.c
parent010b481834b2b60f7d8543263a63e69396019f7b (diff)
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 'drivers/ata/pata_efar.c')
0 files changed, 0 insertions, 0 deletions