Re: [PATCH v7 1/4] hwmon: (pmbus/core) export pmbus_check_and_notify_faults()

Guenter Roeck <[email protected]>
Newsgroups gmane.linux.kernel.hwmon,gmane.linux.kernel,gmane.linux.drivers.devicetree,gmane.linux.documentation
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.