diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-01-13 17:46:37 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-01-13 17:46:37 +0100 |
commit | c107b41c485c43f15b24743e81eaab742b3c0b67 (patch) | |
tree | 39e1843127c7491d79e6bb18128f327e43cad89e /sound | |
parent | dafb70ce1026d4d6ef1b16ad6996c9589bb11cce (diff) | |
download | linux-stable-c107b41c485c43f15b24743e81eaab742b3c0b67.tar.gz linux-stable-c107b41c485c43f15b24743e81eaab742b3c0b67.tar.bz2 linux-stable-c107b41c485c43f15b24743e81eaab742b3c0b67.zip |
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 <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 3c596da2b9b5..fdad6ae7aad4 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)); } } |