1
0
Files
linux/drivers
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-24 15:28:28 +10:00
2010-08-21 12:47:05 -07:00
2010-08-20 09:34:56 -07:00
2010-08-31 11:40:35 -07:00