Re: [PATCH AUTOSEL 6.16 09/85] regulator: core: repeat voltage setting request for stepped regulators

From: Sasha Levin
Date: Sat Aug 16 2025 - 09:10:15 EST


On Mon, Aug 04, 2025 at 12:36:08PM +0100, Mark Brown wrote:
On Sun, Aug 03, 2025 at 08:22:18PM -0400, Sasha Levin wrote:
From: Romain Gantois <romain.gantois@xxxxxxxxxxx>

[ Upstream commit d511206dc7443120637efd9cfa3ab06a26da33dd ]

The regulator_set_voltage() function may exhibit unexpected behavior if the
target regulator has a maximum voltage step constraint. With such a
constraint, the regulator core may clamp the requested voltage to a lesser
value, to ensure that the voltage delta stays under the specified limit.

This needs a followup fix which isn't in mainline yet.

I'll drop it, thanks!

--
Thanks,
Sasha