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

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

Merge "soc:qcom:spcom: fix error code on create existing channel"

parents 05521ad1 e9b2e493
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1866,7 +1866,7 @@ static int spcom_create_channel_chardev(const char *name, bool is_sharable)
	ch = spcom_find_channel_by_name(name);
	if (ch) {
		pr_err("channel [%s] already exist\n", name);
		return -EINVAL;
		return -EBUSY;
	}

	ch = spcom_find_channel_by_name(""); /* find reserved channel */