regmap: Kconfig: make ALLOW_WRITE_DEBUGFS default unset
Set REGMAP_ALLOW_WRITE_DEBUGFS default to n to disable regmap debug write by default. Rs-Fixed: 1103178 Change-Id: I8e89530b5a1b46dce64455244f20cd7aded84b24 Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
This commit is contained in:
parent
3a7e752617
commit
c608bc3deb
1 changed files with 5 additions and 0 deletions
|
@ -36,3 +36,8 @@ config REGMAP_SWR
|
|||
config REGMAP_ALLOW_WRITE_DEBUGFS
|
||||
depends on REGMAP && DEBUG_FS
|
||||
bool "Allow REGMAP debugfs write"
|
||||
default n
|
||||
help
|
||||
Say 'y' here to allow the regmap debugfs write. Regmap debugfs write
|
||||
could be risky when accessing some essential hardwares, so it is not
|
||||
recommended to enable this option on any production device.
|
||||
|
|
Loading…
Add table
Reference in a new issue