Skip to content
Commit 9a8f9320 authored by Conor Dooley's avatar Conor Dooley Committed by Andi Shyti
Browse files

i2c: microchip-core: actually use repeated sends



At present, where repeated sends are intended to be used, the
i2c-microchip-core driver sends a stop followed by a start. Lots of i2c
devices must not malfunction in the face of this behaviour, because the
driver has operated like this for years! Try to keep track of whether or
not a repeated send is required, and suppress sending a stop in these
cases.

CC: stable@vger.kernel.org
Fixes: 64a6f1c4 ("i2c: add support for microchip fpga i2c controllers")
Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
Reviewed-by: default avatarAndi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20241218-football-composure-e56df2461461@spud


Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
parent e0cec363
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment