summaryrefslogtreecommitdiffstats
path: root/include/sound/emu10k1.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-11-22 17:18:49 +0100
committerTakashi Iwai <tiwai@suse.de>2012-11-22 17:48:11 +0100
commit4f86f120d9d65b3a8f17e48dca1f991d861b5cd7 (patch)
treede69ce66dfbc6b4c0671782c975e7e1817da369a /include/sound/emu10k1.h
parentALSA: emu10k1: cache emu1010 firmware (diff)
downloadlinux-4f86f120d9d65b3a8f17e48dca1f991d861b5cd7.tar.xz
linux-4f86f120d9d65b3a8f17e48dca1f991d861b5cd7.zip
ALSA: emu10k1: don't update firmware during suspend/resume
Add a flag to suppress the update in emu1010_firmware_thread() during suspend/resume. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/emu10k1.h')
-rw-r--r--include/sound/emu10k1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/emu10k1.h b/include/sound/emu10k1.h
index 9dc94b559c7d..f841ba4bacb8 100644
--- a/include/sound/emu10k1.h
+++ b/include/sound/emu10k1.h
@@ -1796,6 +1796,7 @@ struct snd_emu10k1 {
unsigned int *saved_icode;
unsigned int *p16v_saved;
unsigned int saved_a_iocfg, saved_hcfg;
+ bool suspend;
#endif
};