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

Commit 43c60d2a authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: spcom: fix spcom channel lock"

parents 6c3782e2 42566689
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1706,6 +1706,7 @@ static int spcom_create_channel_chardev(const char *name)
		pr_err("can't unregister rpmsg drv\n", ret);
exit_destroy_channel:
	// empty channel leaves free slot for next time
	mutex_lock(&ch->lock);
	memset(ch->name, 0, SPCOM_CHANNEL_NAME_SIZE);
	mutex_unlock(&ch->lock);
	return -EFAULT;