mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
soc: ti: wkup_m3_ipc: Fix error return code in wkup_m3_ipc_probe()
commit36b29eb30e
upstream. Fix to return a negative error code from the kthread_run() error handling case instead of 0, as done elsewhere in this function. Fixes:cdd5de500b
("soc: ti: Add wkup_m3_ipc driver") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
97d5e20575
commit
f37b7a3004
1 changed files with 1 additions and 0 deletions
|
@ -459,6 +459,7 @@ static int wkup_m3_ipc_probe(struct platform_device *pdev)
|
|||
|
||||
if (IS_ERR(task)) {
|
||||
dev_err(dev, "can't create rproc_boot thread\n");
|
||||
ret = PTR_ERR(task);
|
||||
goto err_put_rproc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue