diff options
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi_bfin5xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_bfin5xx.c b/drivers/spi/spi_bfin5xx.c index 5acec9ff0175..5ebb67b011d0 100644 --- a/drivers/spi/spi_bfin5xx.c +++ b/drivers/spi/spi_bfin5xx.c | |||
@@ -587,7 +587,7 @@ static irqreturn_t dma_irq_handler(int irq, void *dev_id) | |||
587 | while (!(read_STAT(drv_data) & SPIF)) | 587 | while (!(read_STAT(drv_data) & SPIF)) |
588 | cpu_relax(); | 588 | cpu_relax(); |
589 | 589 | ||
590 | if (spistat & RBSY) { | 590 | if ((dmastat & DMA_ERR) && (spistat & RBSY)) { |
591 | msg->state = ERROR_STATE; | 591 | msg->state = ERROR_STATE; |
592 | dev_err(&drv_data->pdev->dev, "dma receive: fifo/buffer overflow\n"); | 592 | dev_err(&drv_data->pdev->dev, "dma receive: fifo/buffer overflow\n"); |
593 | } else { | 593 | } else { |