diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-12-22 03:00:14 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-12-22 03:00:14 -0500 |
commit | 41116e926cb92292fa4fcbe888ae8133fa0038e6 (patch) | |
tree | e241c705eab65745e162fda4b68a31b5c816696d /include/sound | |
parent | 8374e24c23448cabf6e78db2c83841c56c5df1e1 (diff) |
ALSA: cs46xx - Fix suspend/resume with new DSP
Fix the basic suspend/resume of snd-cs46xx drivers with new DSP.
References:
https://bugzilla.redhat.com/show_bug.cgi?id=498287
https://bugzilla.redhat.com/show_bug.cgi?id=160751
Tested-by: Florian Zumbiehl <florz@florz.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/cs46xx_dsp_spos.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/sound/cs46xx_dsp_spos.h b/include/sound/cs46xx_dsp_spos.h index 7c44667e79a6..49b03c9e5e55 100644 --- a/include/sound/cs46xx_dsp_spos.h +++ b/include/sound/cs46xx_dsp_spos.h | |||
@@ -118,9 +118,11 @@ struct dsp_scb_descriptor { | |||
118 | 118 | ||
119 | struct snd_info_entry *proc_info; | 119 | struct snd_info_entry *proc_info; |
120 | int ref_count; | 120 | int ref_count; |
121 | spinlock_t lock; | ||
122 | 121 | ||
123 | int deleted; | 122 | u16 volume[2]; |
123 | unsigned int deleted :1; | ||
124 | unsigned int updated :1; | ||
125 | unsigned int volume_set :1; | ||
124 | }; | 126 | }; |
125 | 127 | ||
126 | struct dsp_task_descriptor { | 128 | struct dsp_task_descriptor { |