1SND_DEVICE_FREE(9) Management of Cards and Device SND_DEVICE_FREE(9)
2
3
4
6 snd_device_free - release the device from the card
7
9 int snd_device_free(struct snd_card * card, void * device_data);
10
12 card
13 the card instance
14
15 device_data
16 the data pointer to release
17
19 Removes the device from the list on the card and invokes the callbacks,
20 dev_disconnect and dev_free, corresponding to the state. Then release
21 the device.
22
23 Returns zero if successful, or a negative error code on failure or if
24 the device not found.
25
27Kernel Hackers Manual 2.6. June 2019 SND_DEVICE_FREE(9)