Re: [PATCH v4 1/3] hwmon: (pmbus/core) improve handling of write protected regulators
From: Guenter Roeck
Date: Tue Dec 03 2024 - 01:06:40 EST
On Mon, Dec 02, 2024 at 11:28:00AM +0100, Jerome Brunet wrote:
> Writing PMBus protected registers does succeed from the smbus perspective,
> even if the write is ignored by the device and a communication fault is
> raised. This fault will silently be caught and cleared by pmbus irq if one
> has been registered.
>
> This means that the regulator call may return succeed although the
> operation was ignored.
>
> With this change, the operation which are not supported will be properly
> flagged as such and the regulator framework won't even try to execute them.
>
> Signed-off-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx>
Applied.
Thanks,
Guenter