Skip to contentSkip to conversation

ad525x_dpot: default to off

PATCH In review Mike Frysinger 3 participants 4 messages Oct 17, 2010 – Oct 18, 2010 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ad525x_dpot: default to off

From: Michael Hennerich <[email protected]>

No reason for this to be enabled by default.

---
 drivers/misc/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/misc/Kconfig +1 -0
index b743312..7691f89 100644
@@ -16,6 +16,7 @@ if MISC_DEVICES
 config AD525X_DPOT
 	tristate "Analog Devices Digital Potentiometers"
 	depends on (I2C || SPI) && SYSFS
+	default n
 	help
 	  If you say yes here, you get support for the Analog Devices
 	  AD5258, AD5259, AD5251, AD5252, AD5253, AD5254, AD5255
Signature · 1 line
1.7.3.1
#1 lore raw
Quoted 3 lines · On Sun, 17 Oct 2010 02:22:25 -0400 Mike Frysinger wrote:

From: Michael Hennerich <[email protected]>

No reason for this to be enabled by default.

The default is automatically 'n', so please explain (more) why this is needed...?

Quoted 13 lines
---
 drivers/misc/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/misc/Kconfig +0 -0
index b743312..7691f89 100644

drivers/misc/Kconfig if MISC_DEVICES · line 22

Quoted 7 lines
drivers/misc/Kconfig +1 -0
@@ -16,6 +16,7 @@ if MISC_DEVICES
 config AD525X_DPOT
 	tristate "Analog Devices Digital Potentiometers"
 	depends on (I2C || SPI) && SYSFS
+	default n
 	help
 	  If you say yes here, you get support for the Analog Devices
 	  AD5258, AD5259, AD5251, AD5252, AD5253, AD5254, AD5255

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

#2 lore raw
Quoted 7 lines · Randy Dunlap
Quoted 3 lines · On Sun, 17 Oct 2010 02:22:25 -0400 Mike Frysinger wrote:

From: Michael Hennerich <[email protected]>

No reason for this to be enabled by default.

The default is automatically 'n', so please explain (more) why this is needed...?

we were seeing it turned on automatically. maybe Michael can find the reproduction testcase ...
-mike

#3 lore raw

Mike Frysinger wrote on 2010-10-17:

Quoted 12 lines · Randy Dunlap
Quoted 7 lines · On Sun, 17 Oct 2010 02:22:25 -0400 Mike Frysinger wrote:
Quoted 3 lines

From: Michael Hennerich <[email protected]>

No reason for this to be enabled by default.

The default is automatically 'n', so please explain (more) why this is needed...?

we were seeing it turned on automatically. maybe Michael can find the reproduction testcase ...
-mike

A while ago I saw this automatically being proposed to y in case # CONFIG_AD525X_DPOT is not set
Was not present in the boards_defconfig.

Right now I tried to recreate the issue, but I wasn't able. Please ignore this patch.

Greetings,
Michael

Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 4036 Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif

���{.n�+�������+%�����ݶ��w��{.n�+����{��G�����{ay�ʇڙ�,j��f���h��������z_�(�階�ݢj"���m������G������?����&���~��iO��z��v�^�m���� ������?�I�