commit | 06af115d6c6d8b3d7b6cbc8a46f0603e70b1be58 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Wed Sep 07 22:54:35 2016 +0200 |
committer | Mark Brown <broonie@kernel.org> | Mon Sep 12 20:03:49 2016 +0100 |
tree | 2c5e79528375e2ade833a374ab717bfcf887d0d2 | |
parent | cce7e3a2fe39a5b66162a3dc1463a1af598d0803 [diff] |
spi: fsl-espi: improve message length handling Move checking for a zero-length message up in the call chain and use m->frame_length instead of re-calculating the overall length of all transfers in the message. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>