1SND_DEVICE_DISCONNEC(9) Management of Cards and Device SND_DEVICE_DISCONNEC(9)
2
3
4
6 snd_device_disconnect - disconnect the device
7
9 void snd_device_disconnect(struct snd_card * card, void * device_data);
10
12 card
13 the card instance
14
15 device_data
16 the data pointer to disconnect
17
19 Turns the device into the disconnection state, invoking dev_disconnect
20 callback, if the device was already registered.
21
22 Usually called from snd_card_disconnect.
23
25 Zero if successful, or a negative error code on failure or if the
26 device not found.
27
29Kernel Hackers Manual 3.10 June 2019 SND_DEVICE_DISCONNEC(9)