aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r--drivers/ata/libata-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 7f77c67d267c..6669b44044fb 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -6122,7 +6122,7 @@ static void ata_port_detach(struct ata_port *ap)
6122 /* it better be dead now */ 6122 /* it better be dead now */
6123 WARN_ON(!(ap->pflags & ATA_PFLAG_UNLOADED)); 6123 WARN_ON(!(ap->pflags & ATA_PFLAG_UNLOADED));
6124 6124
6125 cancel_rearming_delayed_work(&ap->hotplug_task); 6125 cancel_delayed_work_sync(&ap->hotplug_task);
6126 6126
6127 skip_eh: 6127 skip_eh:
6128 if (ap->pmp_link) { 6128 if (ap->pmp_link) {