Bläddra i källkod

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 år sedan
förälder
incheckning
491278b698
1 ändrade filer med 3 tillägg och 0 borttagningar
  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;
 	}
 
+	/* error recovery is not supported at present */
+	rproc->recovery_disabled = true;
+
 	drproc = rproc->priv;
 	drproc->rproc = rproc;
 	drproc->dsp_clk = dsp_clk;