mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 04:06:22 +00:00
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>
This commit is contained in:
parent
dafb70ce10
commit
c107b41c48
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue