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

Commit 36b29eb3 authored by Wei Yongjun's avatar Wei Yongjun Committed by Tony Lindgren
Browse files

soc: ti: wkup_m3_ipc: Fix error return code in wkup_m3_ipc_probe()



Fix to return a negative error code from the kthread_run() error
handling case instead of 0, as done elsewhere in this function.

Fixes: cdd5de50 ("soc: ti: Add wkup_m3_ipc driver")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 65727977
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -459,6 +459,7 @@ static int wkup_m3_ipc_probe(struct platform_device *pdev)


	if (IS_ERR(task)) {
	if (IS_ERR(task)) {
		dev_err(dev, "can't create rproc_boot thread\n");
		dev_err(dev, "can't create rproc_boot thread\n");
		ret = PTR_ERR(task);
		goto err_put_rproc;
		goto err_put_rproc;
	}
	}