sound - Delete devfs clone handler for /dev/dsp and /dev/mixer on unload.
authorImre Vadász <imre@vdsz.com>
Wed, 12 Apr 2017 20:52:23 +0000 (22:52 +0200)
committerImre Vadász <imre@vdsz.com>
Wed, 12 Apr 2017 20:59:41 +0000 (22:59 +0200)
commitdf9f204008c2d008e49c501cbbffb016141f154c
treecb27aced8eb2a036c29530f463784feb097be78e
parent70f74b7683637256246179bfff2fbae91831fc3b
sound - Delete devfs clone handler for /dev/dsp and /dev/mixer on unload.

* This makes sound work again after unloading and then reloading the
  sound(4) module.

* Only add the devfs clone handler, when the preceeding make_dev() was
  successful.
sys/dev/sound/pcm/sound.c