1. 24 1月, 2010 1 次提交
    • V
      i2c: mxc: let time to generate stop bit · a1ee06b7
      Valentin Longchamp 提交于
      After generating the stop bit by changing MSTA from 1 to 0,
      the i2c_imx->stopped was immediatly set to 1. The second test
      on i2c_imx->stopped then is correct and the controller never
      waits if the bus is busy. This patch corrects this.
      
      On mx31moboard, stop bit was not generated on single write transfers.
      This was kept unnoticed as other transfers are made afterwards that
      help the write recipient to resynchronize.
      
      Thanks to Philippe and Michael for the debugging.
      Signed-off-by: NValentin Longchamp <valentin.longchamp@epfl.ch>
      Signed-off by: Philippe Rétornaz <philippe.retornaz@epfl.ch>
      Reported-by: NMichael Bonani <michael.bonani@epfl.ch>
      Acked-by; Wolfram Sang <w.sang@pengutronix.de>
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      a1ee06b7
  2. 22 1月, 2010 3 次提交
  3. 21 1月, 2010 36 次提交