From f4c061f349188c548497607efd4622c6e6a43270 Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Mon, 14 Jun 2021 13:08:08 +0800 Subject: [PATCH] control: remap - fix an infinite recursive call in the async callback The function snd_ctl_remap_async will call itself infinitely. Looks like a typo. Fixes: a64391a42 ("control: remap plugin - initial version") Signed-off-by: Chih-Wei Huang Signed-off-by: Jaroslav Kysela --- src/control/control_remap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/control/control_remap.c b/src/control/control_remap.c index 17c6558a..a85c1725 100644 --- a/src/control/control_remap.c +++ b/src/control/control_remap.c @@ -323,7 +323,7 @@ static int snd_ctl_remap_nonblock(snd_ctl_t *ctl, int nonblock) static int snd_ctl_remap_async(snd_ctl_t *ctl, int sig, pid_t pid) { snd_ctl_remap_t *priv = ctl->private_data; - return snd_ctl_remap_async(priv->child, sig, pid); + return snd_ctl_async(priv->child, sig, pid); } static int snd_ctl_remap_subscribe_events(snd_ctl_t *ctl, int subscribe) -- 2.47.1