Merge patch series "scsi: libsas: Some coding style fixes and cleanups"
[linux-block.git] / drivers / scsi / libsas / sas_ata.c
index 13fbb862905736e8c7aacb6820382585be67a85b..9b4a9c3b58f2930f78420a47f9477f62724d6f82 100644 (file)
@@ -101,7 +101,7 @@ static void sas_ata_task_done(struct sas_task *task)
 
        spin_lock_irqsave(ap->lock, flags);
        /* check if we lost the race with libata/sas_ata_post_internal() */
-       if (unlikely(ap->pflags & ATA_PFLAG_FROZEN)) {
+       if (unlikely(ata_port_is_frozen(ap))) {
                spin_unlock_irqrestore(ap->lock, flags);
                if (qc->scsicmd)
                        goto qc_already_gone;