Re: [PATCH 1/2] hwmon: (cgbc-hwmon): Fix current sensors ID lookup
From: Guenter Roeck
Date: Fri Sep 11 2026 - 10:01:58 EST
On 9/11/26 00:23, Thomas Richard wrote:
On 9/11/26 2:58 AM, Guenter Roeck wrote:Sorry, too much going on. Either way is fine.
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?
Thanks for the reminder.
Guenter