459
466
mutex_unlock(®ister_mutex);
462
471
#ifdef CONFIG_SND_OSSEMUL
464
473
snd_unregister_oss_device(hwdep->oss_type, hwdep->card, hwdep->device);
466
475
snd_unregister_device(SNDRV_DEVICE_TYPE_HWDEP, hwdep->card, hwdep->device);
467
476
list_del_init(&hwdep->list);
468
478
mutex_unlock(®ister_mutex);