1SND_CTL_REMOVE(9) Control/Mixer API SND_CTL_REMOVE(9)
2
3
4
6 snd_ctl_remove - remove the control from the card and release it
7
9 int snd_ctl_remove(struct snd_card * card,
10 struct snd_kcontrol * kcontrol);
11
13 card
14 the card instance
15
16 kcontrol
17 the control instance to remove
18
20 Removes the control from the card and then releases the instance. You
21 donĀ“t need to call snd_ctl_free_one. You must be in the write lock -
22 down_write(card->controls_rwsem).
23
24 Returns 0 if successful, or a negative error code on failure.
25
27Kernel Hackers Manual 2.6. June 2019 SND_CTL_REMOVE(9)