summaryrefslogtreecommitdiffstats
path: root/alsa-binding/Alsa-RegEvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'alsa-binding/Alsa-RegEvt.c')
-rw-r--r--alsa-binding/Alsa-RegEvt.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/alsa-binding/Alsa-RegEvt.c b/alsa-binding/Alsa-RegEvt.c
index b105288..faacb01 100644
--- a/alsa-binding/Alsa-RegEvt.c
+++ b/alsa-binding/Alsa-RegEvt.c
@@ -583,9 +583,8 @@ STATIC int sndCtlEventCB(sd_event_source* src, int fd, uint32_t revents, void* u
err = alsaGetSingleCtl(sndHandle->evtHandle->ctlDev, elemId, &ctlRequest, QUERY_FULL);
if(err) {
- AFB_ERROR("Did not succeed to get control info and values");
- freeCardAlsaControlHandle(&sndHandle->evtHandle);
- return -3;
+ AFB_WARNING("Did not succeed to get control info and values, a custom control may have been removed");
+ return 0;
}
// If CTL as a value use it as container for response