snd_device_disconnect (9) - Linux Man Pages
snd_device_disconnect: disconnect the device
snd_device_disconnect - disconnect the device
void snd_device_disconnect(struct snd_card
*card, void *device_data);
- the card instance
- the data pointer to disconnect
Turns the device into the disconnection state, invoking dev_disconnect callback, if the device was already registered.