]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - sound/pci/hda/patch_via.c
Merge branch 'fix/hda' into for-linus
[mv-sheeva.git] / sound / pci / hda / patch_via.c
index 71f78456d682bfd6f2523f47e9a14a304ed111ed..a76c3260d941688398f43170e0584c77d7d14320 100644 (file)
@@ -263,8 +263,7 @@ static void vt1708_stop_hp_work(struct via_spec *spec)
                return;
        snd_hda_codec_write(spec->codec, 0x1, 0, 0xf81,
                            !spec->vt1708_jack_detectect);
-       cancel_delayed_work(&spec->vt1708_hp_work);
-       flush_scheduled_work();
+       cancel_delayed_work_sync(&spec->vt1708_hp_work);
 }