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
..
2012-03-08 10:50:35 -08:00
2012-05-03 17:16:52 -07:00
2012-04-20 11:31:00 -07:00
2012-04-12 15:36:33 -07:00
2012-03-19 09:37:11 +00:00
2012-03-27 16:03:32 -07:00
2012-04-27 10:46:45 +08:00
2012-04-12 15:36:33 -07:00
2012-05-03 01:42:55 -04:00
2012-03-17 01:41:43 -07:00
2012-03-30 00:09:17 -07:00
2012-05-02 13:47:49 -07:00
2012-04-18 13:15:51 -07:00