diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-05-03 11:06:53 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-05-03 11:06:53 -0400 |
commit | fe4af1b55ed76e3051bbd8abce7d6b3c504272a5 (patch) | |
tree | 2ca1533564dd46d12562fb54f8abf650cd041408 /sound/pci/lola/lola.h | |
parent | 2db3002029d6c8fbd8ad4ab21f501475cd8c96f9 (diff) |
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.h | 5 |
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 { | |||
374 | unsigned int sample_rate_max; | 374 | unsigned int sample_rate_max; |
375 | 375 | ||
376 | /* flags */ | 376 | /* flags */ |
377 | unsigned int initialized :1; | 377 | unsigned int initialized:1; |
378 | unsigned int cold_reset :1; | 378 | unsigned int cold_reset:1; |
379 | unsigned int polling_mode:1; | ||
379 | 380 | ||
380 | /* for debugging */ | 381 | /* for debugging */ |
381 | unsigned int debug_res; | 382 | unsigned int debug_res; |