table of contents
other versions
- stretch 4.9.168-1
SND_CARD_FREE_WHEN_C(9) | Management of Cards and Device | SND_CARD_FREE_WHEN_C(9) |
NAME¶
snd_card_free_when_closed - Disconnect the card, free it later eventuallySYNOPSIS¶
int snd_card_free_when_closed(struct snd_card * card);
ARGUMENTS¶
cardsoundcard structure
DESCRIPTION¶
Unlike snd_card_free, this function doesn't try to release the card resource immediately, but tries to disconnect at first. When the card is still in use, the function returns before freeing the resources. The card resources will be freed when the refcount gets to zero.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |