Commit 07e25838 authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Michal Simek
Browse files

spi: zynq: Introduce a timeout to the transfer completion



If the interrupt never kicks in, e.g. due to a peripheral malfunctions, the
driver will get stuck forever in xspips_start_transfer() for the completion to
complete. This patch adds a timeout to the completion so the driver can fail
gracefully and return an error if the interrupt never kicks in.

Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 2f72fe39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment