aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-sff.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/libata-sff.c')
-rw-r--r--drivers/ata/libata-sff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c
index d05387d1e14b..8660a70f164a 100644
--- a/drivers/ata/libata-sff.c
+++ b/drivers/ata/libata-sff.c
@@ -1320,7 +1320,7 @@ void ata_sff_flush_pio_task(struct ata_port *ap)
1320{ 1320{
1321 DPRINTK("ENTER\n"); 1321 DPRINTK("ENTER\n");
1322 1322
1323 cancel_rearming_delayed_work(&ap->sff_pio_task); 1323 cancel_delayed_work_sync(&ap->sff_pio_task);
1324 ap->hsm_task_state = HSM_ST_IDLE; 1324 ap->hsm_task_state = HSM_ST_IDLE;
1325 1325
1326 if (ata_msg_ctl(ap)) 1326 if (ata_msg_ctl(ap))