summaryrefslogtreecommitdiff
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
authorMartin Sperl <kernel@martin.sperl.org>2015-11-27 15:31:09 +0300
committerMark Brown <broonie@kernel.org>2015-11-27 15:55:22 +0300
commit77e8058810303e5c18b462adb4f761dbb4f3b657 (patch)
tree51c78e2bba952160606fb755de2b70b81aad23bf /drivers/pci/probe.c
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
downloadlinux-77e8058810303e5c18b462adb4f761dbb4f3b657.tar.xz
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>
Diffstat (limited to 'drivers/pci/probe.c')
0 files changed, 0 insertions, 0 deletions