Home
last modified time | relevance | path

Searched hist:"77 e8058810303e5c18b462adb4f761dbb4f3b657" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/spi/
H A Dspi.cdiff 77e8058810303e5c18b462adb4f761dbb4f3b657 Fri Nov 27 13:31:09 CET 2015 Martin Sperl <kernel@martin.sperl.org> spi: bugfix: spi_message.transfer_length does not get reset

When submitting an identical spi_message multiple times via spi_sync
the spi_message.frame_length does not get reset to 0 in __spi_validate
before adding up all spi_transfer.len resulting in
frame_length > actual_length on all but the first spi_sync call.

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>