Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 175ef591 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: synx: handle callback deregistration failure"

parents 590a7b16 484c69d5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -256,9 +256,11 @@ int synx_signal_core(struct synx_coredata *synx_obj,
		 */
		ret = bind_ops->deregister_callback(
				synx_external_callback, data, sync_id);
		if (ret < 0)
		if (ret < 0) {
			pr_err("deregistration fail on %d, type: %u, err: %d\n",
				sync_id, type, ret);
			continue;
		}
		pr_debug("signal external sync: %d, type: %u, status: %u\n",
			sync_id, type, status);
		/* optional function to enable external signaling */