]> Git Repo - linux.git/commit - drivers/iio/health/max30100.c
iio: health: max30100: fixed parenthesis around FIFO count check
authorMatt Ranostay <[email protected]>
Tue, 17 Jan 2017 02:04:18 +0000 (18:04 -0800)
committerJonathan Cameron <[email protected]>
Sat, 21 Jan 2017 14:16:20 +0000 (14:16 +0000)
commit828f84ee8f84710ea1818b3565add268bcb824c8
tree54d1204a2bb545f233702ad69d10afc1e8fef398
parent802ecfc113df1e15af1d028427cbbe785ae9cc4a
iio: health: max30100: fixed parenthesis around FIFO count check

FIFO was being read every sample after the "almost full" state was
reached. This was due to an incorrect placement of the parenthesis
in the while condition check.

Note - the fixes tag is not actually correct, but the fix in this patch
would also be needed for it to function correctly so we'll go with that
one.  Backports should pick up both.

Signed-off-by: Matt Ranostay <[email protected]>
Fixes: b74fccad7 ("iio: health: max30100: correct FIFO check condition")
Cc: [email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
drivers/iio/health/max30100.c
This page took 0.057129 seconds and 4 git commands to generate.