1SND_CARD_FREE_WHEN_C(9) Management of Cards and Device SND_CARD_FREE_WHEN_C(9)
2
3
4
6 snd_card_free_when_closed - Disconnect the card, free it later
7 eventually
8
10 int snd_card_free_when_closed(struct snd_card * card);
11
13 card
14 soundcard structure
15
17 Unlike snd_card_free, this function doesn't try to release the card
18 resource immediately, but tries to disconnect at first. When the card
19 is still in use, the function returns before freeing the resources. The
20 card resources will be freed when the refcount gets to zero.
21
23Kernel Hackers Manual 3.10 June 2019 SND_CARD_FREE_WHEN_C(9)