Luis de Bethencourt
ef3149eb3d
staging: iio: accel: fix error check
...
sca3000_read_ctrl_reg() returns a negative number on failure, check for
this instead of zero.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-06-26 15:57:02 +01:00
..
2016-04-29 17:58:02 -07:00
2016-04-29 17:58:02 -07:00
2016-02-07 20:05:31 -08:00
2016-05-20 22:20:48 -07:00
2016-05-20 22:20:48 -07:00
2016-05-09 14:25:52 +02:00
2016-03-28 07:30:36 -07:00
2016-04-29 18:02:23 -07:00
2016-05-20 22:20:48 -07:00
2016-05-09 14:25:52 +02:00
2016-03-11 22:09:09 -08:00
2016-03-29 12:43:14 -07:00
2016-05-01 14:33:34 -07:00
2016-06-26 15:57:02 +01:00
2016-06-09 18:33:27 -07:00
2016-05-20 22:20:48 -07:00
2016-03-28 07:30:36 -07:00
2016-05-05 23:52:04 +02:00
2016-03-28 07:30:36 -07:00
2016-03-28 07:30:36 -07:00
2016-03-28 07:30:36 -07:00
2016-02-25 22:38:16 -08:00
2016-04-04 13:52:35 -07:00
2016-06-17 11:21:45 -07:00
2016-05-04 14:16:49 -04:00
2016-05-20 22:20:48 -07:00
2016-05-01 13:57:12 -07:00
2016-05-20 22:20:48 -07:00
2016-04-29 17:58:02 -07:00
2016-05-03 14:07:11 -07:00
2016-04-29 17:58:02 -07:00
2016-03-29 14:41:15 -07:00
2016-05-20 22:20:48 -07:00
2016-05-20 22:20:48 -07:00
2016-05-20 22:20:48 -07:00
2016-05-20 22:20:48 -07:00
2016-05-20 22:20:48 -07:00
2016-05-20 22:20:48 -07:00
2016-05-20 22:20:48 -07:00
2016-03-30 21:34:55 -07:00
2016-05-26 12:59:34 -04:00
2016-05-26 12:59:34 -04:00