瀏覽代碼

Merge 079f437facbc0ea85240dc234ec3ff9770648ef9 on remote branch

Change-Id: I84a8ae61b7586858d433b323dec0765913a5b6a1
Linux Build Service Account 2 年之前
父節點
當前提交
ffb28f0aa5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/spcom.c

+ 1 - 1
drivers/spcom.c

@@ -2504,7 +2504,7 @@ static int spcom_create_channel(const char *ch_name, bool is_sharable)
 		/* Channel is already created as sharable */
 		if (spcom_dev->channels[i].is_sharable) {
 			spcom_pr_err("already created channel as sharable\n");
-			return -EALREADY;
+			return 0;
 		}
 
 		/* Cannot create sharable channel if channel already created */