From: Takashi Iwai Date: Tue, 13 Jan 2009 16:46:37 +0000 (+0100) Subject: ALSA: hda - Use queue_delayed_work() X-Git-Tag: v2.6.29-rc2~67^2~3^2~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c107b41c485c43f15b24743e81eaab742b3c0b67;p=linux-2.6-omap-h63xx.git ALSA: hda - Use queue_delayed_work() Replaced the old schedule_work() with queue_delayed_work() where overlooked in the previous patches. Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 3c596da2b9b..fdad6ae7aad 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -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)); } }