Browse Source

remoteproc/wkup_m3: set deny_sysfs_ops flag

The Wakeup M3 remote processor is controlled by the wkup_m3_ipc
client driver, so set the newly introduced 'deny_sysfs_ops' flag
to not allow any overriding of the remoteproc firmware or state
from userspace.

Signed-off-by: Suman Anna <s-anna@ti.com>
Suman Anna 7 years ago
parent
commit
9349766d75
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/remoteproc/wkup_m3_rproc.c

+ 1 - 0
drivers/remoteproc/wkup_m3_rproc.c

@@ -168,6 +168,7 @@ static int wkup_m3_rproc_probe(struct platform_device *pdev)
 	}
 
 	rproc->auto_boot = false;
+	rproc->deny_sysfs_ops = 1;
 
 	wkupm3 = rproc->priv;
 	wkupm3->rproc = rproc;