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: <20250917-maxreg-kconfig-fix-v1-1-1369f88d6272@mentallysanemainliners.org>
Date: Wed, 17 Sep 2025 16:58:28 +0200
From: Igor Belwon <igor.belwon@...tallysanemainliners.org>
To: Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>
Cc: ~postmarketos/upstreaming@...ts.sr.ht, linux-kernel@...r.kernel.org, 
 Igor Belwon <igor.belwon@...tallysanemainliners.org>
Subject: [PATCH] regulator: Fix MAX77838 selection

The current entry for the MAX77838 regulator is unselectable (as it
depended on a non-user-selectable config - REGMAP_I2C). Fix this by
making it select the config, and not depending on it.

Signed-off-by: Igor Belwon <igor.belwon@...tallysanemainliners.org>
---
 drivers/regulator/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 5e451be51392ce4edd31057ba5fefd90dfeef272..e252bb11ae6615dc9154908bc237905b97e739e5 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -779,7 +779,8 @@ config REGULATOR_MAX77826
 
 config REGULATOR_MAX77838
 	tristate "Maxim 77838 regulator"
-	depends on REGMAP_I2C
+	depends on I2C
+	select REGMAP_I2C
 	help
 	  This driver controls a Maxim 77838 regulator via I2C bus.
 	  The regulator include 4 LDOs and a BUCK regulator. It's

---
base-commit: ae2d20002576d2893ecaff25db3d7ef9190ac0b6
change-id: 20250917-maxreg-kconfig-fix-39ab7b7d642f

Best regards,
-- 
Igor Belwon <igor.belwon@...tallysanemainliners.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ