mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-05-18 10:28:58 +00:00
[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:
committed by
Jaroslav Kysela
parent
87d483630a
commit
89f157d9e6
@@ -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,
|
||||
|
||||
@@ -107,6 +107,7 @@ struct dsp_scb_descriptor {
|
||||
char scb_name[DSP_MAX_SCB_NAME];
|
||||
u32 address;
|
||||
int index;
|
||||
u32 *data;
|
||||
|
||||
struct dsp_scb_descriptor * sub_list_ptr;
|
||||
struct dsp_scb_descriptor * next_scb_ptr;
|
||||
@@ -127,6 +128,7 @@ struct dsp_task_descriptor {
|
||||
int size;
|
||||
u32 address;
|
||||
int index;
|
||||
u32 *data;
|
||||
};
|
||||
|
||||
struct dsp_pcm_channel_descriptor {
|
||||
|
||||
Reference in New Issue
Block a user