1. NAME▲

snd_ctl_remove - remove the control from the card and release it

2. SYNOPSIS ▲

int snd_ctl_remove(struct snd_card *  card , struct snd_kcontrol *  kcontrol );

3. ARGUMENTS ▲

card
    the card instance

kcontrol
    the control instance to remove

4. DESCRIPTION ▲

Removes the control from the card and then releases the instance. You donAqt need to call snd_ctl_free_one. You must be in the write lock - down_write(card->controls_rwsem).

5. RETURN ▲

0 if successful, or a negative error code on failure.

6. COPYRIGHT ▲