]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/ata/pata_arasan_cf.c
Merge branch 'for-4.8/core' of git://git.kernel.dk/linux-block
[karo-tx-linux.git] / drivers / ata / pata_arasan_cf.c
index 80fe0f6fed2900865a0e3709b5ec7164ea91477b..b4d54771c9fe0ab48877b8baaf2c81aba9991730 100644 (file)
@@ -565,7 +565,7 @@ chan_request_fail:
        qc->ap->hsm_task_state = HSM_ST_ERR;
 
        cf_ctrl_reset(acdev);
-       spin_unlock_irqrestore(qc->ap->lock, flags);
+       spin_unlock_irqrestore(&acdev->host->lock, flags);
 sff_intr:
        dma_complete(acdev);
 }