lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120425122924.0f08f5dc@notabene.brown>
Date:	Wed, 25 Apr 2012 12:29:24 +1000
From:	NeilBrown <neilb@...e.de>
To:	Liam Girdwood <lrg@...com>,
	Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc:	linux-kernel@...r.kernel.org
Subject: [PATCH] twl-regulator: Allow CONFIG_TWL4030_ALLOW_UNSUPPORTED to be
 requested.


twl-regulator.c changes behaviour slightly depending on
  CONFIG_TWL4030_ALLOW_UNSUPPORTED
However that config option is not currently listed in any Kconfig
file.
So add the option to allow it to be chosen.

Signed-off-by: NeilBrown <neilb@...e.de>

diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 36db5a4..1d24cac 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -338,6 +338,15 @@ config REGULATOR_TWL4030
 	  This driver supports the voltage regulators provided by
 	  this family of companion chips.
 
+config TWL4030_ALLOW_UNSUPPORTED
+	bool "Allow unsupported voltages on TI TWL4030/TWL5030/TWL6030/TPS659x0 PMIC"
+	depends on REGULATOR_TWL4030
+	help
+	  TWL4030 regulator can (possibly) supply voltages that are not
+	  explicitly supported by TI.  Set this option to allow those
+	  voltages to be requested.
+	  If unsure, say 'N'
+
 config REGULATOR_WM831X
 	tristate "Wolfson Microelectronics WM831x PMIC regulators"
 	depends on MFD_WM831X

Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ