Add the file to the file list of the card
int snd_card_file_add(struct snd_card * card, struct file * file);
card
soundcard structure
file
file pointer
This function adds the file to the file linked-list of the card. This linked-list is used to keep tracking the connection state, and to avoid the release of busy resources by hotplug.
zero or a negative error code.