ahci: don't enable port irq before handler is registered
[deliverable/linux.git] / drivers / ata / libata-core.c
index 423c0a6952b25af341bdd0360656af2be09019ff..5096b2a24a173d2c9eeccd0a4ba74d119e2f882f 100644 (file)
@@ -5480,7 +5480,7 @@ struct ata_port *ata_port_alloc(struct ata_host *host)
        if (!ap)
                return NULL;
 
-       ap->pflags |= ATA_PFLAG_INITIALIZING;
+       ap->pflags |= ATA_PFLAG_INITIALIZING | ATA_PFLAG_FROZEN;
        ap->lock = &host->lock;
        ap->print_id = -1;
        ap->host = host;
This page took 0.02478 seconds and 5 git commands to generate.