Wolfram Sang 772ae99c5b i2c: eg20t: pass on return value in i2c_xfer
smatch says:
drivers/i2c/busses/i2c-eg20t.c:702 pch_i2c_xfer() info: why not propagate 'ret' from mutex_lock_interruptible() instead of -512?

which is especially true since for -ENORESTARTSYS it is said in
linux/errno.h "signal_pending() MUST be set" which is not done here. So
just pass on the return value we got.

Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
Cc: Tomoya MORINAGA <tomoya.rohm@gmail.com>
2012-05-12 14:28:13 +02:00
..
2011-10-29 09:55:45 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2012-03-27 16:41:24 -07:00
2011-01-04 00:53:37 +00:00
2012-01-20 08:24:22 -08:00
2011-05-24 20:58:49 +02:00
2011-05-24 20:58:49 +02:00
2012-05-12 14:28:12 +02:00
2012-05-12 14:28:11 +02:00
2012-05-12 14:28:11 +02:00
2009-04-07 10:23:34 +01:00
2011-10-29 09:55:45 +01:00
2011-06-29 11:36:10 +02:00