summaryrefslogtreecommitdiffstats
path: root/sound/pci/cs46xx/cs46xx_lib.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 /sound/pci/cs46xx/cs46xx_lib.h
parent87d483630a4bd5af2beb2155c7ae8c408729a1a6 (diff)
downloadblackbird-obmc-linux-89f157d9e6bf08b65f93dcb1dca1de037079885f.tar.gz
blackbird-obmc-linux-89f157d9e6bf08b65f93dcb1dca1de037079885f.zip
[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 'sound/pci/cs46xx/cs46xx_lib.h')
-rw-r--r--sound/pci/cs46xx/cs46xx_lib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/cs46xx/cs46xx_lib.h b/sound/pci/cs46xx/cs46xx_lib.h
index f75750c2bd24..20dcd72f06c1 100644
--- a/sound/pci/cs46xx/cs46xx_lib.h
+++ b/sound/pci/cs46xx/cs46xx_lib.h
@@ -86,6 +86,9 @@ static inline unsigned int snd_cs46xx_peekBA0(struct snd_cs46xx *chip, unsigned
struct dsp_spos_instance *cs46xx_dsp_spos_create (struct snd_cs46xx * chip);
void cs46xx_dsp_spos_destroy (struct snd_cs46xx * chip);
int cs46xx_dsp_load_module (struct snd_cs46xx * chip, struct dsp_module_desc * module);
+#ifdef CONFIG_PM
+int cs46xx_dsp_resume(struct snd_cs46xx * chip);
+#endif
struct dsp_symbol_entry *cs46xx_dsp_lookup_symbol (struct snd_cs46xx * chip, char * symbol_name,
int symbol_type);
#ifdef CONFIG_PROC_FS
OpenPOWER on IntegriCloud