1. 09 Mar, 2009 1 commit
    • Timur Tabi's avatar
      i2c-mpc: do not allow interruptions when waiting for I2C to complete · 1ab082d7
      Timur Tabi authored
      The i2c_wait() function is using wait_event_interruptible_timeout() to wait for
      the I2C controller to signal that it has completed an I2C bus operation.  If
      the process that causes the I2C operation terminated abruptly, the wait will
      be interrupted, returning an error.  It is better to let the I2C operation
      finished before the process exits.
      
      It is safe to use wait_event_timeout() instead, because the timeout will allow
      the process to exit if the I2C bus hangs.  It's also better to allow the
      I2C operation to finish, because unacknowledged I2C operations can cause the
      I2C bus to hang.
      Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
      Acked-by: default avatarBen Dooks <ben-linux@fluff.org>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      1ab082d7
  2. 03 Mar, 2009 1 commit
  3. 23 Feb, 2009 19 commits
  4. 22 Feb, 2009 19 commits