1. 12 May, 2020 2 commits
    • Russell King's avatar
      i2c: pxa: avoid complaints with non-responsive slaves · c25e509a
      Russell King authored
      Running i2cdetect on a PXA I2C adapter is very noisy; it complains
      whenever a slave fails to respond to the address cycle.  Since it is
      normal to probe for slaves in this way, we should not fill the kernel
      log.  This is especially true with SFP modules that take a while to
      respond on the I2C bus, and probing via the I2C bus is the only way to
      detect that they are ready.
      
      Fix this by changing the internal transfer return code from I2C_RETRY
      to a new NO_SLAVE code (mapped to -ENXIO, as per the I2C documentation
      for this condition, but we still return -EREMOTEIO to the I2C stack to
      maintain long established driver behaviour.)
      Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
      Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
      c25e509a
    • Russell King's avatar
      i2c: pxa: consolidate i2c_pxa_*xfer() implementations · 0f03c088
      Russell King authored
      Most of i2c_pxa_pio_xfer() and i2c_pxa_xfer() are identical; the only
      differences are that i2c_pxa_pio_xfer() may reset the bus, and they
      use different underlying transfer functions. The retry loop is the
      same. Consolidate these two functions.
      Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
      Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
      0f03c088
  2. 11 May, 2020 4 commits
  3. 05 May, 2020 13 commits
  4. 30 Apr, 2020 2 commits
  5. 26 Apr, 2020 11 commits
  6. 18 Apr, 2020 3 commits
  7. 15 Apr, 2020 5 commits