OSDN Git Service

remoteproc/davinci: Mark error recovery as disabled
authorSuman Anna <s-anna@ti.com>
Mon, 23 Jul 2018 23:27:57 +0000 (18:27 -0500)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 13 Aug 2018 18:51:11 +0000 (11:51 -0700)
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>
drivers/remoteproc/da8xx_remoteproc.c

index b668e32..53160d5 100644 (file)
@@ -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;