Dan Carpenter
213fd22704
Staging: iio: signedness bug
...
i2c_smbus_read_byte_data() returns an s32 type. We need to change
"rate" to signed for the error handling to work.
Also I changed it to propogate the error code instead of just returning
-EINVAL. Other error codes could be -EAGAIN for example.
Signed-off-by: Dan Carpenter <error27@gmail.com >
Acked-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-08-31 11:40:35 -07:00
..
2010-08-15 17:37:07 -07:00
2010-08-25 19:24:16 -04:00
2010-08-12 09:11:31 -07:00
2010-08-23 18:12:46 -07:00
2010-08-23 18:29:18 -07:00
2010-08-28 13:55:31 -07:00
2010-08-13 10:06:54 +02:00
2010-08-12 09:11:31 -07:00
2010-08-26 12:46:03 +02:00
2010-08-29 09:17:31 +02:00
2010-08-14 12:34:34 -07:00
2010-08-12 11:27:57 +02:00
2010-08-28 14:08:38 -07:00
2010-08-18 15:29:38 -07:00
2010-08-25 15:42:12 +02:00
2010-08-14 11:57:54 -07:00
2010-08-15 11:17:52 -07:00
2010-08-12 09:11:31 -07:00
2010-08-25 07:51:40 -07:00
2010-08-23 18:30:30 -07:00
2010-08-12 09:11:31 -07:00
2010-08-24 15:28:28 +10:00
2010-08-18 16:16:05 +10:00
2010-08-24 10:42:08 -07:00
2010-08-12 08:43:31 -07:00
2010-08-14 16:21:00 -07:00
2010-08-12 10:01:30 -07:00
2010-08-12 10:01:59 -07:00
2010-08-20 09:34:55 -07:00
2010-08-21 12:47:05 -07:00
2010-08-28 15:42:44 -07:00
2010-08-12 09:11:31 -07:00
2010-08-15 17:34:20 -07:00
2010-08-12 09:11:31 -07:00
2010-08-24 10:42:09 -07:00
2010-08-12 09:58:33 -07:00
2010-08-12 09:11:31 -07:00
2010-08-21 00:34:45 -07:00
2010-08-20 09:34:56 -07:00
2010-08-28 13:55:31 -07:00
2010-08-18 12:44:31 +10:00
2010-08-31 11:40:35 -07:00
2010-08-28 13:55:31 -07:00
2010-08-20 09:34:54 -07:00
2010-08-13 20:54:53 +00:00
2010-08-28 13:55:31 -07:00