diff options
Diffstat (limited to 'sound/drivers/opl3/opl3_lib.c')
-rw-r--r-- | sound/drivers/opl3/opl3_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/opl3/opl3_lib.c b/sound/drivers/opl3/opl3_lib.c index a657da922b4d..a1270841290b 100644 --- a/sound/drivers/opl3/opl3_lib.c +++ b/sound/drivers/opl3/opl3_lib.c | |||
@@ -361,7 +361,6 @@ int snd_opl3_new(struct snd_card *card, | |||
361 | opl3->hardware = hardware; | 361 | opl3->hardware = hardware; |
362 | spin_lock_init(&opl3->reg_lock); | 362 | spin_lock_init(&opl3->reg_lock); |
363 | spin_lock_init(&opl3->timer_lock); | 363 | spin_lock_init(&opl3->timer_lock); |
364 | mutex_init(&opl3->access_mutex); | ||
365 | 364 | ||
366 | if ((err = snd_device_new(card, SNDRV_DEV_CODEC, opl3, &ops)) < 0) { | 365 | if ((err = snd_device_new(card, SNDRV_DEV_CODEC, opl3, &ops)) < 0) { |
367 | snd_opl3_free(opl3); | 366 | snd_opl3_free(opl3); |
@@ -497,6 +496,7 @@ int snd_opl3_hwdep_new(struct snd_opl3 * opl3, | |||
497 | return err; | 496 | return err; |
498 | } | 497 | } |
499 | hw->private_data = opl3; | 498 | hw->private_data = opl3; |
499 | hw->exclusive = 1; | ||
500 | #ifdef CONFIG_SND_OSSEMUL | 500 | #ifdef CONFIG_SND_OSSEMUL |
501 | if (device == 0) { | 501 | if (device == 0) { |
502 | hw->oss_type = SNDRV_OSS_DEVICE_TYPE_DMFM; | 502 | hw->oss_type = SNDRV_OSS_DEVICE_TYPE_DMFM; |