Skip to content

Further i2c-pxa cleanups

Russell King - ARM Linux admin linux-i2c 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest0 of 4 patches 0 repliesNew
  2. v10 of 4 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

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

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/4] Further i2c-pxa cleanups

Hi,

This small series contains some further cleanups to i2c-pxa:

Patch 1 gets rid of the duplication between i2c_pxa_pio_xfer() and i2c_pxa_xfer(), which are mostly identical.

Patch 2 avoids the "exhausted retries" spamming the kernel log when running i2cdetect - this occurs when a slave does not respond. We keep the existing behaviour for all other retries.

Patch 3 changes the kernel messages printed when timeouts happen so they are unique - thus allowing identification of which one triggered.

Patch 4 removes an unnecessary show_state() while waiting for the bus to become free.

v2: fix compile error in patch 1.

 drivers/i2c/busses/i2c-pxa.c | 56 +++++++++++++++++++++-----------------------
 1 file changed, 27 insertions(+), 29 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