Marek Vasut 204e706fa2 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>
2012-09-06 07:42:11 +08:00
..
2012-08-17 22:54:10 +01:00
2011-11-09 23:02:12 +08:00
2011-06-06 01:16:30 -06:00
2012-04-10 14:11:34 -06:00
2011-09-21 09:41:48 -06:00
2011-06-06 01:16:30 -06:00
2012-07-10 15:28:56 +01:00
2011-06-06 01:16:30 -06:00
2012-07-23 14:14:54 +01:00
2012-07-02 13:55:36 +02:00
2012-04-10 14:11:34 -06:00
2011-06-06 01:16:30 -06:00
2012-05-19 22:37:16 -06:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2012-07-26 12:57:41 -07:00
2011-06-06 01:16:30 -06:00