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>
diff --git a/sound/pci/lola/lola.h b/sound/pci/lola/lola.h
index 400ab5e..d5708e2 100644
--- a/sound/pci/lola/lola.h
+++ b/sound/pci/lola/lola.h
@@ -374,8 +374,9 @@
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;