From 49533399810630031541b25407cd88498a72f6c3 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Tue, 7 Mar 2017 22:35:52 +0100 Subject: Lock on WS afb-daemon Segmentation fault --- Alsa/core-binding/AlsaLibMapping.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Alsa/core-binding/AlsaLibMapping.c') diff --git a/Alsa/core-binding/AlsaLibMapping.c b/Alsa/core-binding/AlsaLibMapping.c index e4f27c9..8d85f11 100644 --- a/Alsa/core-binding/AlsaLibMapping.c +++ b/Alsa/core-binding/AlsaLibMapping.c @@ -710,10 +710,11 @@ PUBLIC void alsaSubCtl (struct afb_req request) { // subscribe to binder event err = afb_req_subscribe(request, evtHandle->afbevt); if (err != 0) { - afb_req_fail_f (request, "register-eventname", "Cannot subscribe binder event name=%s err=%d", devid, err); + afb_req_fail_f (request, "register-eventname", "Cannot subscribe binder event name=%s need WS", devid, err); goto ExitOnError; } + // increase usage count and return success sndHandles[idx].ucount ++; afb_req_success(request, NULL, NULL); return; -- cgit 1.2.3-korg