Re: [PATCH v2] hwmon: (ad7314) Validate leading zero bits and return error

From: Guenter Roeck
Date: Sun Mar 02 2025 - 11:41:41 EST


On Mon, Feb 24, 2025 at 09:19:04AM +0000, Erik Schumacher wrote:
> Leading zero bits are sent on the bus before the temperature value is
> transmitted. If any of these bits are high, the connection might be
> unstable or there could be no AD7314 / ADT730x (or compatible) at all.
> Return -EIO in that case.
>
> Signed-off-by: Erik Schumacher <erik.schumacher@xxxxxxxxxxxxxxxx>

Applied.

Thanks,
Guenter