mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
Orignally proposed by Sam Revitch <[email protected]>. Unregister device files at disconnection to avoid the futher accesses. Also, the dev_unregister callback is removed and replaced with the combination of disconnect + free. A new function snd_card_free_when_closed() is introduced, which is used in USB disconnect callback. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>