diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/sata_sil.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/sata_sil.c b/drivers/scsi/sata_sil.c index 0898cbe6458c..a7e99a1def2f 100644 --- a/drivers/scsi/sata_sil.c +++ b/drivers/scsi/sata_sil.c | |||
@@ -419,7 +419,8 @@ static irqreturn_t sil_interrupt(int irq, void *dev_instance, | |||
419 | if (unlikely(!ap || ap->flags & ATA_FLAG_DISABLED)) | 419 | if (unlikely(!ap || ap->flags & ATA_FLAG_DISABLED)) |
420 | continue; | 420 | continue; |
421 | 421 | ||
422 | if (!(bmdma2 & (SIL_DMA_COMPLETE | SIL_DMA_SATA_IRQ))) | 422 | if (bmdma2 == 0xffffffff || |
423 | !(bmdma2 & (SIL_DMA_COMPLETE | SIL_DMA_SATA_IRQ))) | ||
423 | continue; | 424 | continue; |
424 | 425 | ||
425 | sil_host_intr(ap, bmdma2); | 426 | sil_host_intr(ap, bmdma2); |