* [patch] soc: ti: wkup_m3_ipc: Fix an error code
@ 2016-02-25 21:31 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2016-02-25 21:31 UTC (permalink / raw)
To: linux-arm-kernel
We accidentally return success if we can't load firmware but we intended
to return a negative error code.
Fixes: cdd5de500b2c ('soc: ti: Add wkup_m3_ipc driver')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
diff --git a/drivers/soc/ti/wkup_m3_ipc.c b/drivers/soc/ti/wkup_m3_ipc.c
index 8823cc8..5bb3760 100644
--- 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;
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-02-25 21:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-25 21:31 [patch] soc: ti: wkup_m3_ipc: Fix an error code Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox