summaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2018-07-23 18:27:57 -0500
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-08-13 11:51:11 -0700
commit491278b698774d3b0d8974acfc994cc482e95485 (patch)
tree69e21beeb44cda0bd29f2a640315ab14d2db26a7 /drivers/remoteproc
parent4499665b323670b42ec4c0d223c1e482e4e0621d (diff)
downloadlinux-491278b698774d3b0d8974acfc994cc482e95485.tar.bz2
remoteproc/davinci: Mark error recovery as disabled
The Davinci remoteproc driver does not support error recovery at present, so mark the corresponding remoteproc flag appropriately so that the debugfs flag shows the value as 'disabled' by default. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r--drivers/remoteproc/da8xx_remoteproc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/remoteproc/da8xx_remoteproc.c b/drivers/remoteproc/da8xx_remoteproc.c
index b668e32996e2..53160d5ed543 100644
--- a/drivers/remoteproc/da8xx_remoteproc.c
+++ b/drivers/remoteproc/da8xx_remoteproc.c
@@ -284,6 +284,9 @@ static int da8xx_rproc_probe(struct platform_device *pdev)
goto free_mem;
}
+ /* error recovery is not supported at present */
+ rproc->recovery_disabled = true;
+
drproc = rproc->priv;
drproc->rproc = rproc;
drproc->dsp_clk = dsp_clk;