diff options
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r-- | drivers/ata/libata-core.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 7f53ea725bce..47c70392ec4d 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -5681,9 +5681,8 @@ int ata_device_add(const struct ata_probe_ent *ent) | |||
5681 | ap->ioaddr.bmdma_addr, | 5681 | ap->ioaddr.bmdma_addr, |
5682 | irq_line); | 5682 | irq_line); |
5683 | 5683 | ||
5684 | ata_chk_status(ap); | 5684 | /* freeze port before requesting IRQ */ |
5685 | host->ops->irq_clear(ap); | 5685 | ata_eh_freeze_port(ap); |
5686 | ata_eh_freeze_port(ap); /* freeze port before requesting IRQ */ | ||
5687 | } | 5686 | } |
5688 | 5687 | ||
5689 | /* obtain irq, that may be shared between channels */ | 5688 | /* obtain irq, that may be shared between channels */ |