diff options
| author | Marek Vasut <[email protected]> | 2014-10-22 21:56:01 +0200 |
|---|---|---|
| committer | Jagannadha Sutradharudu Teki <[email protected]> | 2014-10-27 22:37:03 +0530 |
| commit | 80d73338080c83e17fbf3f844052ec71d03ecd13 (patch) | |
| tree | 636e9c4eefe012c66d1072e1fc80f82e4115a978 /scripts/basic/fixdep.c | |
| parent | 37dcc130e0c804da6ad50bf273d0d737cfe9cf8f (diff) | |
spi: altera: Zap endless loop
The driver contained an endless loop when waiting for TX completion,
this is a bad idea since if the hardware fails, the loop might spin
forever. Add timeout and handle it.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Chin Liang See <[email protected]>
Cc: Dinh Nguyen <[email protected]>
Cc: Albert Aribaud <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Jagannadha Sutradharudu Teki <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]>
Diffstat (limited to 'scripts/basic/fixdep.c')
0 files changed, 0 insertions, 0 deletions
