Re: [PATCH 15/16] i2c-designware: i2c_dw_xfer_msg: Mark as completed on an error

2009-10-14 Thread Shinya Kuribayashi
Shinya Kuribayashi wrote: As wait_for_completion_interruptible_timeout() will be invoked after the first call to i2c_dw_xfer_msg() is made whether or not an error is detected in it, we need to mark -cmd_complete as completed to avoid a needless HZ timeout. diff --git

FW: [PATCH 15/16] i2c-designware: i2c_dw_xfer_msg: Mark as completed on an error

2009-10-13 Thread Olivares, Ricardo Perez
...@lists.infradead.org Subject: [PATCH 15/16] i2c-designware: i2c_dw_xfer_msg: Mark as completed on an error As wait_for_completion_interruptible_timeout() will be invoked after the first call to i2c_dw_xfer_msg() is made whether or not an error is detected in it, we need to mark -cmd_complete

FW: [PATCH 15/16] i2c-designware: i2c_dw_xfer_msg: Mark as completed on an error

2009-10-13 Thread Olivares, Ricardo Perez
...@lists.infradead.org Subject: [PATCH 15/16] i2c-designware: i2c_dw_xfer_msg: Mark as completed on an error As wait_for_completion_interruptible_timeout() will be invoked after the first call to i2c_dw_xfer_msg() is made whether or not an error is detected in it, we need to mark -cmd_complete

[PATCH 15/16] i2c-designware: i2c_dw_xfer_msg: Mark as completed on an error

2009-10-12 Thread Shinya Kuribayashi
As wait_for_completion_interruptible_timeout() will be invoked after the first call to i2c_dw_xfer_msg() is made whether or not an error is detected in it, we need to mark -cmd_complete as completed to avoid a needless HZ timeout. Signed-off-by: Shinya Kuribayashi shinya.kuribaya...@necel.com