summaryrefslogtreecommitdiff
path: root/drivers/remoteproc
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2018-07-24 02:27:57 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-08-13 21:51:11 +0300
commit491278b698774d3b0d8974acfc994cc482e95485 (patch)
tree69e21beeb44cda0bd29f2a640315ab14d2db26a7 /drivers/remoteproc
parent4499665b323670b42ec4c0d223c1e482e4e0621d (diff)
downloadlinux-491278b698774d3b0d8974acfc994cc482e95485.tar.xz
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;