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

Commit c56f8823 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "trace: ipc_logging: reset completion instead of reinitializing"

parents bc3be851 9a9c1f23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -520,7 +520,7 @@ int ipc_log_extract(void *ctxt, char *buff, int size)
		spin_lock(&ilctxt->context_lock_lhb1);
	}
	if ((size - dctxt.size) == 0)
		init_completion(&ilctxt->read_avail);
		INIT_COMPLETION(ilctxt->read_avail);
	spin_unlock(&ilctxt->context_lock_lhb1);
	read_unlock_irqrestore(&context_list_lock_lha1, flags);
	return size - dctxt.size;