summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-02-16 03:05:10 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-02-16 03:05:10 -0800
commit47b76bb345c097d3b593d64c5c5398f5fd7ece5e (patch)
treeb226ba97b1ee2cec842aca2ef09fa1a2f06b5a18 /drivers
parentd3731e3536b1cc8bbe01bb7e4de7afc9e2357da9 (diff)
parentc608bc3debf4adcdda7c6a0418f1fd0fd5ae8b5f (diff)
Merge "regmap: Kconfig: make ALLOW_WRITE_DEBUGFS default unset"
Diffstat (limited to 'drivers')
-rw-r--r--drivers/base/regmap/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/base/regmap/Kconfig b/drivers/base/regmap/Kconfig
index 5b83a06ee1a9..45fc564bf949 100644
--- a/drivers/base/regmap/Kconfig
+++ b/drivers/base/regmap/Kconfig
@@ -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.