other versions
SND_DEVICE_DISCONNEC(9) | Management of Cards and Device | SND_DEVICE_DISCONNEC(9) |
NAME¶
snd_device_disconnect - disconnect the deviceSYNOPSIS¶
void
snd_device_disconnect(struct snd_card * card,
void * device_data);
ARGUMENTS¶
cardthe card instance
device_data
the data pointer to disconnect
DESCRIPTION¶
Turns the device into the disconnection state, invoking dev_disconnect callback, if the device was already registered. Usually called from snd_card_disconnect.RETURN¶
Zero if successful, or a negative error code on failure or if the device not found.COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |