staging:iio:ring_sw: Fix incorrect test on successful read of last value, causes...
commit8474ddd7cba04c2e8d8691abda32ae0f4a684137
authorJonathan Cameron <jic23@cam.ac.uk>
Tue, 4 May 2010 13:43:11 +0000 (4 14:43 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:06 +0000 (11 11:36 -0700)
tree823b54d3fd0d47e25f68b185c2f6fa34e857842a
parent3bf877c1cc0d17ef471f21ae319fcb9c9211df61
staging:iio:ring_sw: Fix incorrect test on successful read of last value, causes infinite loop

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/ring_sw.c