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

Guenter Roeck linux at roeck-us.net
Thu Aug 6 08:34:58 PDT 2026


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




More information about the linux-arm-kernel mailing list