From c608bc3debf4adcdda7c6a0418f1fd0fd5ae8b5f Mon Sep 17 00:00:00 2001 From: Fenglin Wu Date: Wed, 15 Feb 2017 23:44:33 +0800 Subject: 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 --- drivers/base/regmap/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers') 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. -- cgit v1.2.3