Przeglądaj źródła

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 lat temu
rodzic
commit
491278b698
1 zmienionych plików z 3 dodań i 0 usunięć
  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;