summaryrefslogtreecommitdiff
path: root/cpus.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpus.h')
0 files changed, 0 insertions, 0 deletions
a>) tree79bda1bb8140ab2d4235a691143904fe2983dc79 parentb3bec5f95f73520feb05b90244522f24546e96aa (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>
Diffstat
-rw-r--r--drivers/spi/spi-fsl-espi.c22
1 files changed, 17 insertions, 5 deletions
diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c