i2c: mv64xxx: work around signals causing I2C transactions to be aborted
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 16 May 2013 10:30:59 +0000 (10:30 +0000)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 17 May 2013 20:49:37 +0000 (22:49 +0200)
commitd295a86eab200b3f0c513e78dbe1f189fd32d397
tree20e8211da3b410b9e6597340fafe8526d9ab1f89
parent53229345502bf3713cce220e849743f83065381d
i2c: mv64xxx: work around signals causing I2C transactions to be aborted

Do not use interruptible waits in an I2C driver; if a process uses
signals (eg, Xorg uses SIGALRM and SIGPIPE) then these signals can
cause the I2C driver to abort a transaction in progress by another
driver, which can cause that driver to fail.  I2C drivers are not
expected to abort transactions on signals.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-mv64xxx.c