snd_card_free_when_closed(9)

snd_card_free_when_closed9

Disconnect the card, free it later eventually

Usage

int snd_card_free_when_closed(struct snd_card * card);

Arguments

card

soundcard structure

Overview

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.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.