Blackfin SPI Driver: do not check for SPI errors if DMA itself did not flag any
authorMike Frysinger <vapier.adi@gmail.com>
Tue, 7 Apr 2009 02:00:38 +0000 (19:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2009 15:31:05 +0000 (08:31 -0700)
commit40a2945b97b4da9120653d84f1c3a58fe58be64c
tree7c051cfc046035f9489df4bbccfa15c2de459b9b
parentd24bd1d0dc850e7aa68c27ec288eb699d41a5916
Blackfin SPI Driver: do not check for SPI errors if DMA itself did not flag any

We only need to check SPI error when DMA failes, cause that is the DMA IRQ
handling routine.

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>
drivers/spi/spi_bfin5xx.c