Commit 3e70af86 authored by Iago Abal's avatar Iago Abal Committed by Tejun Heo
Browse files

drivers: ata: pata_arasan_cf: use the same name for the same lock



Note that `&acdev->host->lock' and `qc->ap->lock' denote the same lock, and it's
particularly confusing to spin_lock on the former but spin_unlock on the latter.

Signed-off-by: default avatarIago Abal <mail@iagoabal.eu>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent f3f99d37
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}