Skip to content

Use master-abort for slave probes

Russell King - ARM Linux admin linux-i2c 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Use master-abort for slave probes

Hi,

This series allows us to use the "master abort" feature when probing slaves rather than resetting the controller, which allows more graceful recovery to bus free state after sending the address byte.

The i2c-pxa controller expects to send data after the address byte rather than a stop. Rather than resetting the bus (and thus forcing a bus-free state by releasing the SCL line) which may leave the bus in an indeterminant state, use the master-abort command instead.

This patch series applies on top of the previous posted cleanup patches, although it may also apply to -rc.

 drivers/i2c/busses/i2c-pxa.c | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)
Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 10.2Mbps down 587kbps up