From: Jarkko Nikula Date: Mon, 23 Oct 2006 18:18:43 +0000 (+0300) Subject: ARM: OMAP: I2C: Do not use interruptible wait call in omap_i2c_xfer_msg X-Git-Tag: v2.6.19-omap1~125 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6a1a3e5d8928fb8093855c8da1a3dfd7805e229;p=pandora-kernel.git ARM: OMAP: I2C: Do not use interruptible wait call in omap_i2c_xfer_msg If there is a signal pending and wait_for_completion_interruptible_timeout terminates with -ERESTARTSYS, we return and disable the i2c clocks in omap_i2c_xfer. If we terminate before sending last i2c message with a stop condition, the bus remains busy and we are not able to send new messages into bus with successive omap_i2c_xfer calls. Therefore a pending signal is not caught here and we return only because of timeout or i2c error. Signed-off-by: Jarkko Nikula Signed-off-by: Juha Yrjola --- Reading git-diff-tree failed