commit | cce7e3a2fe39a5b66162a3dc1463a1af598d0803 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Wed Sep 07 22:54:18 2016 +0200 |
committer | Mark Brown <broonie@kernel.org> | Mon Sep 12 20:03:49 2016 +0100 |
tree | 26798f0400b91933e1305ec570539f55a9184c65 | |
parent | 96361fafbbfc8a07b4c7ec09d96d742ef68bfbad [diff] |
spi: fsl-espi: factor out handling of read data Factor out copying read data to the read buffers in the original message to a new function fsl_espi_copy_from_buf. This also allows to simplify fsl_espi_copy_to_buf. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>