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: <20250920114311.291450-1-andreas@kemnade.info>
Date: Sat, 20 Sep 2025 13:43:09 +0200
From: Andreas Kemnade <andreas@...nade.info>
To: jdelvare@...e.com,
	linux@...ck-us.net,
	lgirdwood@...il.com,
	broonie@...nel.org,
	linux-hwmon@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Alistair Francis <alistair@...stair23.me>
Cc: Andreas Kemnade <andreas@...nade.info>
Subject: [PATCH 0/2] hmwon: (sy7636a) fix regulator handling

The temperature sensor in these devices in only usable if its
regulators are turned on.
To have that properly working fix a race during probe which leads to
dummy regulator assigned instead. That fix looks questionable,
therefore mark it as RFC. Having the regulators enabled increases
power consumption a lot, so rather turn them on only when needed.
The usual usage pattern would be to enable regulators, read temperature to
determine how to configure waveforms for the epaper display,
initiate the refresh and turning the regulators off.

Andreas Kemnade (2):
  hwmon: (sy7636a) fix races during probe of mfd subdevices
  hwmon: (sy7636a) enable regulator only if needed

 drivers/hwmon/sy7636a-hwmon.c | 34 ++++++++++++++++++++++++----------
 1 file changed, 24 insertions(+), 10 deletions(-)

-- 
2.47.3


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ