diff options
| author | Mark Brown <[email protected]> | 2011-11-10 10:57:32 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2012-01-21 13:09:37 +0000 |
| commit | c2573128ad1ff36a7e231799c102be2413a2f756 (patch) | |
| tree | 7f6e037e0065193fcda7b4d3305110f5159f92f6 /tools/perf/scripts/python | |
| parent | 805a6af8dba5dfdd35ec35dc52ec0122400b2610 (diff) | |
spi/s3c64xx: Log error interrupts
Although the hardware supports interrupts we're not currently using them
at all since for small transfers the overhead is greater than that for
busy waiting and for large transfers we have interrupts from the DMA.
This means that if the hardware reports an error (especially one which
might not stall transfer) we might miss it.
Take a first pass at dealing with such errors by enabling the interrupt
if we can and logging the errors if they happen. Ideally we'd report the
error via the affected transfer but since we're in master mode it's very
difficult to trigger errors at present and this code is much simpler.
Signed-off-by: Mark Brown <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions