diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2016-09-07 22:54:35 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-09-12 20:03:49 +0100 |
commit | 06af115d6c6d8b3d7b6cbc8a46f0603e70b1be58 (patch) | |
tree | 2c5e79528375e2ade833a374ab717bfcf887d0d2 /lib/flex_array.c | |
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>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions