diff options
author | 2025-06-30 16:18:17 +0100 | |
---|---|---|
committer | 2025-07-01 18:37:38 +0200 | |
commit | c584c4f264c3bd7c27247688056a5c77907dbb07 (patch) | |
tree | 0f52aab66135fe8c930764fc31bc54d631f57c60 /rust/pin-init/internal/src | |
parent | i2c/designware: Fix an initialization issue (diff) | |
download | wireguard-linux-c584c4f264c3bd7c27247688056a5c77907dbb07.tar.xz wireguard-linux-c584c4f264c3bd7c27247688056a5c77907dbb07.zip |
i2c: microchip-core: re-fix fake detections w/ i2cdetect
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@microchip.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20250630-shopper-proven-500f4075e7d6@spud
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions