From: Mark Brown Date: Thu, 10 Nov 2011 10:57:32 +0000 (+0000) Subject: spi/s3c64xx: Log error interrupts X-Git-Tag: v3.4-rc1~170^2~31^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2573128ad1ff36a7e231799c102be2413a2f756;p=pandora-kernel.git 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 Acked-by: Linus Walleij --- Reading git-diff-tree failed