Commit a9466dfd authored by Jaroslav Kysela's avatar Jaroslav Kysela

[ALSA] Fix compile error (due to last suspend/resume fix)

PPC PMAC driver
Fixed the forgotten caller of suspend/resume callbacks to follow
the recent PM fixes.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent ea9d1ad1
......@@ -1294,10 +1294,10 @@ static int snd_pmac_sleep_notify(struct pmu_sleep_notifier *self, int when)
switch (when) {
case PBOOK_SLEEP_NOW:
snd_pmac_suspend(chip->card, 0);
snd_pmac_suspend(chip->card, PMSG_SUSPEND);
break;
case PBOOK_WAKE:
snd_pmac_resume(chip->card, 0);
snd_pmac_resume(chip->card);
break;
}
return PBOOK_SLEEP_OK;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment