1SND_CTL_REMOVE(9)              Control/Mixer API             SND_CTL_REMOVE(9)
2
3
4

NAME

6       snd_ctl_remove - remove the control from the card and release it
7

SYNOPSIS

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

ARGUMENTS

13       card
14           the card instance
15
16       kcontrol
17           the control instance to remove
18

DESCRIPTION

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

RETURN

25       0 if successful, or a negative error code on failure.
26
28Kernel Hackers Manual 3.10         June 2019                 SND_CTL_REMOVE(9)
Impressum