Re: [PATCH] hwmon: emc1812: reject channel index 0 in device tree config

From: Guenter Roeck

Date: Wed Jul 15 2026 - 20:36:01 EST


On 7/15/26 17:25, Ivy Lopez wrote:
Channel index 0 is reserved for the internal diode and is set
unconditionally before parsing child nodes. If a child node specifies
reg = 0, it silently overwrites the internal diode label


The label string "internal_diode" is completely meaningless.
If anything, it should be dropped. I see it as a good thing,
not as a bug, that it can be overwritten.

NACK.

Guenter