i2c: octeon: Fix i2c fail problem when a process is terminated by a signal
author송은봉 <eunb.song@samsung.com>
Wed, 17 Apr 2013 21:40:17 +0000 (21:40 +0000)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 19 Apr 2013 18:28:56 +0000 (20:28 +0200)
commit2637e5fd232d421b680757944f613d4b1a36ae26
tree609d4bf5c5ce3d5035c5a60ab60164102bd41db6
parentaaedeb6f198a44bdfa98a012cc3c07a48e126b16
i2c: octeon: Fix i2c fail problem when a process is terminated by a signal

I've been debugging the abnormal operation of i2c on octeon. If a process is
terminated by signal in the middle of i2c operation, next i2c read operation
which is done by another process was failed. So i changed to ignore signal in
the middle of i2c operation. After that the problem was not reproduced.

Signed-off-by: Eunbong Song <eunb.song@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-octeon.c