Commit f3817f00 authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update

ALI5451 driver
Fixed the suspend/resume.

The suspend callback wasn't set the power state correctly, so
the resume process was skipped.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 5f39b3d3
......@@ -1934,6 +1934,7 @@ static int ali_suspend(snd_card_t *card, unsigned int state)
outl(0xffffffff, ALI_REG(chip, ALI_STOP));
spin_unlock_irq(&chip->reg_lock);
snd_power_change_state(card, SNDRV_CTL_POWER_D3hot);
return 0;
}
......
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