snd_card_file_remove — remove the file from the file list
int snd_card_file_remove ( | snd_card_t * | card, |
struct file * | file) ; |
This function removes the file formerly added to the card via
snd_card_file_add
function.
If all files are removed and the release of the card is
scheduled, it will wake up the the thread to call snd_card_free
(see snd_card_free_in_thread
function).
Returns zero or a negative error code.