projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dafb70c
)
ALSA: hda - Use queue_delayed_work()
author
Takashi Iwai
<tiwai@suse.de>
Tue, 13 Jan 2009 16:46:37 +0000
(17:46 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 13 Jan 2009 16:46:37 +0000
(17:46 +0100)
Replaced the old schedule_work() with queue_delayed_work() where
overlooked in the previous patches.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/hda_codec.c
b/sound/pci/hda/hda_codec.c
index 3c596da2b9b5aa07e168797630e79a2d56050340..fdad6ae7aad46f674d544fddf20b29a3259fe704 100644
(file)
--- 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));
}
}