'\" t .\" Title: snd_card_free_when_closed .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: Management of Cards and Devices .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SND_CARD_FREE_WHEN_C" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "Management of Cards and Device" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" snd_card_free_when_closed \- Disconnect the card, free it later eventually .SH "SYNOPSIS" .HP \w'int\ snd_card_free_when_closed('u .BI "int snd_card_free_when_closed(struct\ snd_card\ *\ " "card" ");" .SH "ARGUMENTS" .PP \fIcard\fR .RS 4 soundcard structure .RE .SH "DESCRIPTION" .PP Unlike \fBsnd_card_free\fR, this function doesn\*(Aqt 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\&. .SH "COPYRIGHT" .br