Browse Source

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>
Suman Anna 7 years ago
parent
commit
491278b698
1 changed files with 3 additions and 0 deletions
  1. 3 0
      drivers/remoteproc/da8xx_remoteproc.c

+ 3 - 0
drivers/remoteproc/da8xx_remoteproc.c

@@ -284,6 +284,9 @@ static int da8xx_rproc_probe(struct platform_device *pdev)
 		goto free_mem;
 		goto free_mem;
 	}
 	}
 
 
+	/* error recovery is not supported at present */
+	rproc->recovery_disabled = true;
+
 	drproc = rproc->priv;
 	drproc = rproc->priv;
 	drproc->rproc = rproc;
 	drproc->rproc = rproc;
 	drproc->dsp_clk = dsp_clk;
 	drproc->dsp_clk = dsp_clk;