Alexander Motin 5525b53de5 Do not handle MOD_SHUTDOWN equally to MOD_UNLOAD in sound kernel module.
MOD_SHUTDOWN is not an end of existence, and there is a life after it.
In particular, code previously called on MOD_SHUTDOWN grabbed lock and
deallocated unit numbering. That caused infinite wait loop if snd_uaudio
tried to destroy its PCM device after that point.

MFC after:	3 days
2012-02-14 09:19:30 +00:00
..
2012-02-10 15:34:36 +00:00
2012-02-03 13:40:51 +00:00
2012-02-10 12:35:57 +00:00
2012-02-12 19:29:34 +00:00
2012-01-17 12:14:26 +00:00
2012-01-02 12:12:10 +00:00
2012-02-10 12:40:50 +00:00
2012-02-10 12:35:57 +00:00
2012-02-01 20:19:33 +00:00