iio: health: max30100: correct FIFO check condition
authorMatt Ranostay <mranostay@gmail.com>
Sat, 26 Mar 2016 03:42:58 +0000 (20:42 -0700)
committerJonathan Cameron <jic23@kernel.org>
Mon, 28 Mar 2016 09:09:58 +0000 (10:09 +0100)
commitb74fccad751d2664bda9dd3c90646bb61295e774
tree9b5f4d47c387baef71e51fbb378ebefbd4b49f85
parentf7072198f2178b68eabf25b439f17cfd8e070e9f
iio: health: max30100: correct FIFO check condition

Correct issue that the last entry in FIFO was being read twice due
to an incorrect decrement of entry count variable before condition
check.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/health/max30100.c
This page took 0.02589 seconds and 5 git commands to generate.