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:
Fenglin Wu 2017-02-15 23:44:33 +08:00
parent 3a7e752617
commit c608bc3deb

View file

@ -36,3 +36,8 @@ config REGMAP_SWR
config REGMAP_ALLOW_WRITE_DEBUGFS config REGMAP_ALLOW_WRITE_DEBUGFS
depends on REGMAP && DEBUG_FS depends on REGMAP && DEBUG_FS
bool "Allow REGMAP debugfs write" 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.