diff options
Diffstat (limited to 'drivers/ata/sata_sil24.c')
-rw-r--r-- | drivers/ata/sata_sil24.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ata/sata_sil24.c b/drivers/ata/sata_sil24.c index 9acfce43bde4..b4f81eb8bbbe 100644 --- a/drivers/ata/sata_sil24.c +++ b/drivers/ata/sata_sil24.c | |||
@@ -821,11 +821,8 @@ static void sil24_error_intr(struct ata_port *ap) | |||
821 | ata_ehi_push_desc(ehi, "irq_stat 0x%08x", irq_stat); | 821 | ata_ehi_push_desc(ehi, "irq_stat 0x%08x", irq_stat); |
822 | 822 | ||
823 | if (irq_stat & PORT_IRQ_SDB_NOTIFY) { | 823 | if (irq_stat & PORT_IRQ_SDB_NOTIFY) { |
824 | struct ata_device *dev = ap->link.device; | ||
825 | |||
826 | ata_ehi_push_desc(ehi, "SDB notify"); | 824 | ata_ehi_push_desc(ehi, "SDB notify"); |
827 | if (dev->flags & ATA_DFLAG_AN) | 825 | sata_async_notification(ap); |
828 | ata_scsi_media_change_notify(dev); | ||
829 | } | 826 | } |
830 | 827 | ||
831 | if (irq_stat & (PORT_IRQ_PHYRDY_CHG | PORT_IRQ_DEV_XCHG)) { | 828 | if (irq_stat & (PORT_IRQ_PHYRDY_CHG | PORT_IRQ_DEV_XCHG)) { |