summaryrefslogtreecommitdiffstats
path: root/include/sound/cs46xx.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-07-19 11:23:21 +0200
committerJaroslav Kysela <perex@suse.cz>2007-07-20 11:11:57 +0200
commit89f157d9e6bf08b65f93dcb1dca1de037079885f (patch)
treecd828ea196a97f13216bb1af2da68901a079f6c5 /include/sound/cs46xx.h
parent87d483630a4bd5af2beb2155c7ae8c408729a1a6 (diff)
[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>
Diffstat (limited to 'include/sound/cs46xx.h')
-rw-r--r--include/sound/cs46xx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/cs46xx.h b/include/sound/cs46xx.h
index 685928e6f65..353910ce975 100644
--- a/include/sound/cs46xx.h
+++ b/include/sound/cs46xx.h
@@ -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,