Re: [PATCH 1/2] hwmon: (cgbc-hwmon): Fix current sensors ID lookup
From: Thomas Richard
Date: Fri Sep 11 2026 - 03:32:05 EST
On 9/11/26 2:58 AM, Guenter Roeck wrote:
> On Thu, Sep 10, 2026 at 03:28:21PM +0200, Thomas Richard (congatec GmbH) wrote:
>> Current sensors on the Congatec Board Controller don't use consecutive IDs,
>> unlike other sensor types (voltage, temperature, fan). The driver assumed
>> consecutive IDs and performed a simple lookup, which caused an unknown
>> sensor warning. Define current sensor IDs explicitly.
>>
>> Changes the warning on conga-SA7 (type and channel are correct now).
>> Before:
>> Board Controller returned an unknown sensor (type=2, channel=17), ignore it
>> After:
>> Board Controller returned an unknown sensor (bc_type=1, bc_id=11), ignore it
>>
>> Cc: stable@xxxxxxxxxx
>> Fixes: 08ebc9def79f ("hwmon: Add Congatec Board Controller monitoring driver")
>> Signed-off-by: Thomas Richard (congatec GmbH) <thomas.richard@xxxxxxxxxxx>
>
> Applied.
>
You pointed me that Sashiko reported a missing cgbc_hwmon_info array but
you applied the patch. Should I send a v2 or an other patch to fix it?
Best Regards,
Thomas