[ALSA] cs46xx - Fix PM resume

Fixed PM resume of cs46xx devices.  It now restores properly the DSP
image and kick-off the DSP.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:
Takashi Iwai
2007-07-19 11:23:21 +02:00
committed by Jaroslav Kysela
parent 87d483630a
commit 89f157d9e6
5 changed files with 197 additions and 59 deletions

View File

@@ -1723,6 +1723,10 @@ struct snd_cs46xx {
struct snd_cs46xx_pcm *playback_pcm;
unsigned int play_ctl;
#endif
#ifdef CONFIG_PM
u32 *saved_regs;
#endif
};
int snd_cs46xx_create(struct snd_card *card,