aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2019-04-03 17:42:00 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2019-04-08 13:58:01 +1000
commita75c70a43a1b70cf0903b8d764bd4cc9478dda7a (patch)
tree04789ae4629fbd5b8cd8b1abb0b82e661cc0525e
parent8e151019a32b733420e2eb3006a5edaac5bc9589 (diff)
Fix loopback re-adding of controls
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
-rw-r--r--loopback/loopback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loopback/loopback.c b/loopback/loopback.c
index 49c188d..1fbec88 100644
--- a/loopback/loopback.c
+++ b/loopback/loopback.c
@@ -966,7 +966,7 @@ static int loopback_mixer_new(struct loopback *loopback, int notify)
default:
break;
}
- err = snd_ctl_add(card, kctl);
+ err = snd_ctl_replace(card, kctl, true);
if (err < 0)
return err;
}