aboutsummaryrefslogtreecommitdiffstats
path: root/alsa-binding/Alsa-RegEvt.c
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-11-02 23:19:30 +0100
committerFulup Ar Foll <fulup@iot.bzh>2017-11-02 23:19:30 +0100
commiteac54aceceb2b465340fb6beb4ef635cb46d8237 (patch)
tree465774f0672558417039d866a18dbb2d8b2aec66 /alsa-binding/Alsa-RegEvt.c
parent451d65660b62aa23e9d3083174153e9a5a068c5f (diff)
Fix double Close
Diffstat (limited to 'alsa-binding/Alsa-RegEvt.c')
-rw-r--r--alsa-binding/Alsa-RegEvt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/alsa-binding/Alsa-RegEvt.c b/alsa-binding/Alsa-RegEvt.c
index 035806e..ce81721 100644
--- a/alsa-binding/Alsa-RegEvt.c
+++ b/alsa-binding/Alsa-RegEvt.c
@@ -235,7 +235,6 @@ PUBLIC void alsaEvtSubcribe(afb_req request) {
// increase usage count and return success
sndHandles[idx].ucount++;
- snd_ctl_close(ctlDev);
afb_req_success(request, NULL, NULL);
// use OnErrorExit