diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2009-04-06 19:00:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-07 08:31:05 -0700 |
commit | aaaf939c573b783398b6af863576322256352f64 (patch) | |
tree | 41784ef46eca1e51db79b82877ad9ca173361e76 /drivers/char | |
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>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions