]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/pci/hda/hda_codec.c
ALSA: hda - Use queue_delayed_work()
[linux-2.6-omap-h63xx.git] / sound / pci / hda / hda_codec.c
index 3c596da2b9b5aa07e168797630e79a2d56050340..fdad6ae7aad46f674d544fddf20b29a3259fe704 100644 (file)
@@ -2815,7 +2815,7 @@ void snd_hda_power_down(struct hda_codec *codec)
                return;
        if (power_save(codec)) {
                codec->power_transition = 1; /* avoid reentrance */
-               schedule_delayed_work(&codec->power_work,
+               queue_delayed_work(codec->bus->workq, &codec->power_work,
                                msecs_to_jiffies(power_save(codec) * 1000));
        }
 }