SND_DEVICE_FREE(9) Sound Devices SND_DEVICE_FREE(9)NAMEsnd_device_free - release the device from the card
SYNOPSIS
int snd_device_free(struct snd_card * card, void * device_data);
ARGUMENTS
card
the card instance
device_data
the data pointer to release
DESCRIPTION
Removes the device from the list on the card and invokes the callbacks,
dev_disconnect and dev_free, corresponding to the state. Then release
the device.
RETURN
Zero if successful, or a negative error code on failure or if the
device not found.
COPYRIGHTKernel Hackers Manual 3.11 November 2013 SND_DEVICE_FREE(9)