Re: [PATCH v7 1/4] hwmon: (pmbus/core) export pmbus_check_and_notify_faults()
Guenter Roeck <[email protected]> Fri, 31 Jul 2026 07:28:07 -0700
| Newsgroups | org.kernel.vger.linux-hwmon,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jul 30, 2026 at 05:43:59PM +0200, Vincent Jardin wrote: > From: Vincent Jardin <[email protected]> > > 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 <[email protected]> Applied. Thanks, Guenter