aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-10-30 06:59:15 -0400
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:29:13 -0500
commit05c1afe75fcebf456017ec186811cf1599f4360e (patch)
tree3000085048bb79d54f61c993c2b8e5eb1bd0618f /include
parent224a033252bba46c5c8b5df625f5e781ca138f48 (diff)
[ALSA] opl3 - simplify exclusive access lock
Use the exclusive access lock in hwdep instead of the own one. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'include')
-rw-r--r--include/sound/opl3.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/opl3.h b/include/sound/opl3.h
index 7ee865d6236f..eea584b7bfc5 100644
--- a/include/sound/opl3.h
+++ b/include/sound/opl3.h
@@ -320,7 +320,6 @@ struct snd_opl3 {
320 320
321 spinlock_t reg_lock; 321 spinlock_t reg_lock;
322 struct snd_card *card; /* The card that this belongs to */ 322 struct snd_card *card; /* The card that this belongs to */
323 int used; /* usage flag - exclusive */
324 unsigned char fm_mode; /* OPL mode, see SNDRV_DM_FM_MODE_XXX */ 323 unsigned char fm_mode; /* OPL mode, see SNDRV_DM_FM_MODE_XXX */
325 unsigned char rhythm; /* percussion mode flag */ 324 unsigned char rhythm; /* percussion mode flag */
326 unsigned char max_voices; /* max number of voices */ 325 unsigned char max_voices; /* max number of voices */
@@ -353,7 +352,6 @@ struct snd_opl3 {
353 int sys_timer_status; /* system timer run status */ 352 int sys_timer_status; /* system timer run status */
354 spinlock_t sys_timer_lock; /* Lock for system timer access */ 353 spinlock_t sys_timer_lock; /* Lock for system timer access */
355#endif 354#endif
356 struct mutex access_mutex; /* locking */
357}; 355};
358 356
359/* opl3.c */ 357/* opl3.c */