diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2016-10-27 21:28:02 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-28 19:39:46 +0100 |
commit | db1b049fad8b12062edffade8272d604b4019eb7 (patch) | |
tree | 79bda1bb8140ab2d4235a691143904fe2983dc79 /drivers/uwb/hwa-rc.c | |
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>
Diffstat (limited to 'drivers/uwb/hwa-rc.c')
0 files changed, 0 insertions, 0 deletions