1. 16 4月, 2013 7 次提交
  2. 09 4月, 2013 1 次提交
    • J
      i2c: s3c2410: Add SMBus emulation for block read · 85747311
      Jaemin Yoo 提交于
      SMBus read and write are supported by the emulation layer of i2c
      framework if the controller doesn't have SMBus features.
      
      I2C_M_RECV_LEN flag is used to let i2c drivers know rx length is not
      yet determined but will be read to the first byte in rx buffer.
      
      s3c2410 doesn't handle this flag. So only one byte is read from slave.
      There fore following two features are added to the driver code.
      
      1. skip rx length check if I2C_M_RECV_LEN is set and the length is 1.
      2. add actual bytes to the rx length after reading first bytes if
         I2C_M_RECV_LEN.
      
      I2C_M_RECV_LEN is only set for SMBus command. So this code does not
      affect legacy codes which only use i2c command for s3c2410.
      Signed-off-by: NJaemin Yoo <jmin.yoo@samsung.com>
      Tested-by: NPrasanna Kumar <prasanna.ps@samsung.com>
      Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
      85747311
  3. 02 4月, 2013 1 次提交
  4. 29 3月, 2013 3 次提交
  5. 27 3月, 2013 1 次提交
  6. 24 3月, 2013 5 次提交
  7. 22 3月, 2013 2 次提交
  8. 11 3月, 2013 1 次提交
  9. 22 2月, 2013 2 次提交
  10. 21 2月, 2013 1 次提交
  11. 16 2月, 2013 3 次提交
  12. 12 2月, 2013 1 次提交
  13. 11 2月, 2013 12 次提交