1SND_CARD_FILE_ADD(9) Management of Cards and Device SND_CARD_FILE_ADD(9)
2
3
4
6 snd_card_file_add - add the file to the file list of the card
7
9 int snd_card_file_add(struct snd_card * card, struct file * file);
10
12 card
13 soundcard structure
14
15 file
16 file pointer
17
19 This function adds the file to the file linked-list of the card. This
20 linked-list is used to keep tracking the connection state, and to avoid
21 the release of busy resources by hotplug.
22
24 zero or a negative error code.
25
27Kernel Hackers Manual 3.10 June 2019 SND_CARD_FILE_ADD(9)