diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-07-16 21:33:29 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-07-17 12:56:49 +0100 |
commit | 5f8f80356eccfaae1db8a827626ae4fc2eb62831 (patch) | |
tree | 1e69cc119ba4d1b480fa0bcd6ee11a278cdd55c2 /include | |
parent | 504f2565a4f64a3cdd0a4e175a34ffc73297294a (diff) |
spi: spi-fsl-dspi: Fill actual_length when doing DMA transfer
Upper layer users of SPI device drivers may rely on 'actual_length',
so it is important that information is correctly reported. One such
example is spi_mem_exec_op() function that will fail if
'actual_length' of the data transferred is not what was requested. Add
necessary code to populate 'actual_length.
Cc: Mark Brown <broonie@kernel.org>
Cc: Sanchayan Maity <maitysanchayan@gmail.com>
Cc: Stefan Agner <stefan@agner.ch>
Cc: cphealy@gmail.com
Cc: linux-spi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions