Re: [PATCH v7 1/4] hwmon: (pmbus/core) export pmbus_check_and_notify_faults()
From: Guenter Roeck
Date: Fri Jul 31 2026 - 10:35:06 EST
On Thu, Jul 30, 2026 at 05:43:59PM +0200, Vincent Jardin wrote:
> From: Vincent Jardin <vjardin@xxxxxxx>
>
> Factor of pmbus_fault_handler() into an exported helper so
> drivers can notify sequence from a polling work item on boards
> for which the chip's SMBALERT# pin is not wired to the
> CPU. The interrupt handler becomes a thin wrapper.
>
> Like the SMBALERT# path, the helper notifies and then clears the
> latched faults unconditionally, so a polling caller inherits exactly
> the interrupt semantics.
>
> Signed-off-by: Vincent Jardin <vjardin@xxxxxxx>
Applied.
Thanks,
Guenter