commit | db1b049fad8b12062edffade8272d604b4019eb7 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Thu Oct 27 21:28:02 2016 +0200 |
committer | Mark Brown <broonie@kernel.org> | Fri Oct 28 19:39:46 2016 +0100 |
tree | 79bda1bb8140ab2d4235a691143904fe2983dc79 | |
parent | b3bec5f95f73520feb05b90244522f24546e96aa [diff] |
spi: fsl-espi: extend and improve transfer error handling Extend and improve transfer error handling - in case of timeout report also number of remaining rx bytes - in case of timeout return ETIMEDOUT instead of EMSGSIZE - add sanity checks after all bytes have been sent / read: - check that HW has flag SPIE_DON set - check that RX / TX FIFO are empty Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>