Re: [PATCH 2/2] hwmon: add Axiado AX3000 and AX3005 PWM fan controller driver

From: Guenter Roeck

Date: Thu Aug 06 2026 - 11:35:34 EST


On 8/6/26 03:04, Uwe Kleine-König wrote:

If there is a hwmon lock that serializes calls to hwmon_ops::read and
hwmon_ops::write, .pwm_lock isn't needed. (Unless I miss something,
please double check. Also I'm unsure if there is such a hwmon
serialization.)


In hwmon_attr_show(), hwmon_attr_show_string(), and hwmon_attr_store():

guard(mutex)(&hwdev->lock);

Guenter