Re: [PATCH] hwmon: (nct6683) Make pwmN_auto_channels_temp of NCT6687D-R writable
From: Tomasz Bojanowski
Date: Tue Nov 17 2026 - 02:16:10 EST
On 11/16/26 22:22, Guenter Roeck wrote:
> On 11/16/26 15:26, Tomasz Bojanowski wrote:
>> The attribute is writable if, when the driver is loaded, the curve uses
>> one such temperature. Before each write the driver checks that this is
>> still the case and returns -EIO otherwise, so that it does not overwrite
>> a source which could not be selected again.
>>
>
> Why -EIO (I/O error) ? I could imagine -EBUSY or maybe -EINVAL, but I don't
> see why this could be considered to be be an I/O error.
Agreed, this is not an I/O error. I followed the curve point attributes,
which return -EIO in the same situation. I will send v2 returning -EBUSY,
as the driver already does when pwmN is written in automatic mode.