diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-12-22 09:00:14 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-12-22 09:00:14 +0100 |
commit | 41116e926cb92292fa4fcbe888ae8133fa0038e6 (patch) | |
tree | e241c705eab65745e162fda4b68a31b5c816696d /include/sound/cs46xx_dsp_spos.h | |
parent | ALSA: refine rate selection in snd_interval_ratnum() (diff) | |
download | linux-41116e926cb92292fa4fcbe888ae8133fa0038e6.tar.xz linux-41116e926cb92292fa4fcbe888ae8133fa0038e6.zip |
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/cs46xx_dsp_spos.h')
-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 { struct snd_info_entry *proc_info; int ref_count; - spinlock_t lock; - int deleted; + u16 volume[2]; + unsigned int deleted :1; + unsigned int updated :1; + unsigned int volume_set :1; }; struct dsp_task_descriptor { |