Re: [PATCH v3] i2c: microchip-core: re-fix fake detections w/ i2cdetect
From: Andi Shyti
Date: Tue Jul 01 2025 - 12:39:11 EST
Hi Conor,
On Mon, Jun 30, 2025 at 04:18:17PM +0100, Conor Dooley wrote:
> From: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
>
> Introducing support for smbus re-broke i2cdetect, causing it to detect
> devices at every i2c address, just as it did prior to being fixed in
> commit 49e1f0fd0d4cb ("i2c: microchip-core: fix "ghost" detections").
> This was caused by an oversight, where the new smbus code failed to
> check the return value of mchp_corei2c_xfer(). Check it, and propagate
> any errors.
>
> Fixes: d6ceb40538263 ("i2c: microchip-corei2c: add smbus support")
> Signed-off-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
merged to i2c/i2c-host-fixes.
Thanks,
Andi