commit | aaaf939c573b783398b6af863576322256352f64 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier.adi@gmail.com> | Mon Apr 06 19:00:42 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Apr 07 08:31:05 2009 -0700 |
tree | 41784ef46eca1e51db79b82877ad9ca173361e76 | |
parent | 11d6f5995137ba4dc49e9337185ac0a8753f8f69 [diff] |
Blackfin SPI Driver: add timeout while waiting for SPIF in dma irq handler The "while" endless loop will cause the system hang if hardware error, so we add timeout control to make the system alive. Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>