diff options
author | Luis de Bethencourt <luisbg@osg.samsung.com> | 2016-06-01 21:25:54 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-06-11 19:37:13 +0200 |
commit | f4070a19142d5ee06f0da0cef56a0e78995f172c (patch) | |
tree | 8a4e14d0addc0c0ae15d048a60223b769a7827cf /security/smack | |
parent | staging: iio: fix ad7606_spi regression (diff) | |
download | linux-f4070a19142d5ee06f0da0cef56a0e78995f172c.tar.xz linux-f4070a19142d5ee06f0da0cef56a0e78995f172c.zip |
staging: iio: ad5933: fix order of cycle conditions
Correctly handle the settling time cycles value. The else branch is an
impossible condition, > 1022 in the else branch of > 511. Flipping the order.
Based on the Table 13 at the bottom of Page 25 of the Data Sheet:
http://www.analog.com/media/en/technical-documentation/data-sheets/AD5933.pdf
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'security/smack')
0 files changed, 0 insertions, 0 deletions