summaryrefslogtreecommitdiffstats
path: root/sound/pci/lola/lola.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-05-03 17:06:53 +0200
committerTakashi Iwai <tiwai@suse.de>2011-05-03 17:06:53 +0200
commitfe4af1b55ed76e3051bbd8abce7d6b3c504272a5 (patch)
tree2ca1533564dd46d12562fb54f8abf650cd041408 /sound/pci/lola/lola.h
parent2db3002029d6c8fbd8ad4ab21f501475cd8c96f9 (diff)
downloadlinux-fe4af1b55ed76e3051bbd8abce7d6b3c504272a5.tar.bz2
ALSA: lola - Implement polling_mode like hd-audio
Also protect the call of lola_update_rirb() with spinlock. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/lola/lola.h')
-rw-r--r--sound/pci/lola/lola.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/lola/lola.h b/sound/pci/lola/lola.h
index 400ab5ef4c6c..d5708e29b16d 100644
--- a/sound/pci/lola/lola.h
+++ b/sound/pci/lola/lola.h
@@ -374,8 +374,9 @@ struct lola {
unsigned int sample_rate_max;
/* flags */
- unsigned int initialized :1;
- unsigned int cold_reset :1;
+ unsigned int initialized:1;
+ unsigned int cold_reset:1;
+ unsigned int polling_mode:1;
/* for debugging */
unsigned int debug_res;