summaryrefslogtreecommitdiffstats
path: root/include/sound/ymfpci.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-03-13 08:07:41 +0100
committerTakashi Iwai <tiwai@suse.de>2012-03-13 08:12:33 +0100
commit28aa165cc52fa686a55a2a2052fdddad0fbde5eb (patch)
treea445f5a0f8ad0915aece24b36c957d100f5cd77c /include/sound/ymfpci.h
parentbd483d4c6c65c1c48483f2f81c603d42b39ce83b (diff)
downloadblackbird-obmc-linux-28aa165cc52fa686a55a2a2052fdddad0fbde5eb.tar.gz
blackbird-obmc-linux-28aa165cc52fa686a55a2a2052fdddad0fbde5eb.zip
ALSA: ymfpci - Fix legacy registers on S3/S4 resume
We need to resume two legacy registers to recover MIDI/FM functionality on S3/S4 resume, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/ymfpci.h')
-rw-r--r--include/sound/ymfpci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/ymfpci.h b/include/sound/ymfpci.h
index 444cd6ba0ba7..41199664666b 100644
--- a/include/sound/ymfpci.h
+++ b/include/sound/ymfpci.h
@@ -366,6 +366,8 @@ struct snd_ymfpci {
#ifdef CONFIG_PM
u32 *saved_regs;
u32 saved_ydsxgr_mode;
+ u16 saved_dsxg_legacy;
+ u16 saved_dsxg_elegacy;
#endif
};
OpenPOWER on IntegriCloud