Message ID | 1457391064-6660-163-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index e61fbf4..019390b 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -2104,10 +2104,10 @@ static void azx_remove(struct pci_dev *pci) struct hda_intel *hda; if (card) { - /* flush the pending probing work */ + /* cancel the pending probing work */ chip = card->private_data; hda = container_of(chip, struct hda_intel, chip); - flush_work(&hda->probe_work); + cancel_work_sync(&hda->probe_work); snd_card_free(card); }