summaryrefslogtreecommitdiffstats
path: root/alsa-binding/Alsa-ApiHat.c
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2019-09-20 12:08:25 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2019-10-01 10:57:28 +0200
commitf51db7cc6a8aed530ca24adda4be279b5b4d6a84 (patch)
tree3261273a94bd8b31dd6f9812eb0cc3f1fb79df20 /alsa-binding/Alsa-ApiHat.c
parent2be5e4462b36b9ccc7562a83047de81dffe7e899 (diff)
Add verb to remove custom ALSA control
Add verb to remove previously added custom ALSA control. It can be done using 'removecustomctl' verb. BUG-AGL: SPEC-2836 Change-Id: I07b842e3425f6c176423473afcd8b3d18dcaa79b Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'alsa-binding/Alsa-ApiHat.c')
-rw-r--r--alsa-binding/Alsa-ApiHat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/alsa-binding/Alsa-ApiHat.c b/alsa-binding/Alsa-ApiHat.c
index f43e421..470467b 100644
--- a/alsa-binding/Alsa-ApiHat.c
+++ b/alsa-binding/Alsa-ApiHat.c
@@ -55,6 +55,7 @@ static const afb_verb_t api_verbs[] = {
{ .verb = "ucmreset", .callback = alsaUseCaseReset, .info="Use Case Manager Reset"},
{ .verb = "ucmclose", .callback = alsaUseCaseClose, .info="Use Case Manager Close"},
{ .verb = "addcustomctl", .callback = alsaAddCustomCtls, .info="Add Software Alsa Custom Control"},
+ { .verb = "removecustomctl", .callback = alsaRemoveCustomCtls, .info="Remove Software Alsa Custom Control"},
{ .verb = NULL} /* marker for end of the array */
};