Query: snd_ctl_remove
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SND_CTL_REMOVE(9) Control/Mixer API SND_CTL_REMOVE(9)NAMEsnd_ctl_remove - remove the control from the card and release itSYNOPSISint snd_ctl_remove(struct snd_card * card, struct snd_kcontrol * kcontrol);ARGUMENTScard the card instance kcontrol the control instance to removeDESCRIPTIONRemoves the control from the card and then releases the instance. You don't need to call snd_ctl_free_one. You must be in the write lock - down_write(card->controls_rwsem).RETURN0 if successful, or a negative error code on failure.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SND_CTL_REMOVE(9)