summaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc/da8xx_remoteproc.c
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2018-07-24 01:27:57 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-08-13 20:51:11 +0200
commit491278b698774d3b0d8974acfc994cc482e95485 (patch)
tree69e21beeb44cda0bd29f2a640315ab14d2db26a7 /drivers/remoteproc/da8xx_remoteproc.c
parentremoteproc: st_slim: replace "%p" with "%pK" (diff)
downloadlinux-491278b698774d3b0d8974acfc994cc482e95485.tar.xz
linux-491278b698774d3b0d8974acfc994cc482e95485.zip
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/da8xx_remoteproc.c')
-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;