projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6572797
)
soc: ti: wkup_m3_ipc: Fix error return code in wkup_m3_ipc_probe()
author
Wei Yongjun
<weiyongjun1@huawei.com>
Thu, 12 Jan 2017 14:53:41 +0000
(14:53 +0000)
committer
Tony Lindgren
<tony@atomide.com>
Thu, 12 Jan 2017 21:37:49 +0000
(13:37 -0800)
Fix to return a negative error code from the kthread_run() error
handling case instead of 0, as done elsewhere in this function.
Fixes:
cdd5de500b2c
("soc: ti: Add wkup_m3_ipc driver")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/soc/ti/wkup_m3_ipc.c
patch
|
blob
|
history
diff --git
a/drivers/soc/ti/wkup_m3_ipc.c
b/drivers/soc/ti/wkup_m3_ipc.c
index
8823cc8
..
5bb3760
100644
(file)
--- a/
drivers/soc/ti/wkup_m3_ipc.c
+++ b/
drivers/soc/ti/wkup_m3_ipc.c
@@
-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;
}