summaryrefslogtreecommitdiffstats
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-03 17:42:00 +1100
commit8d80a94293f651bca8a86bf7710288c46372d6ae (patch)
tree822f97477c903917e54b3d3249615ae3c5ae7037
parentde95b5d9cb985acf9e28ea4e1a8592d335e601b1 (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;
}