diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-02-09 12:03:52 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-02-09 18:46:02 +0000 |
commit | 905889b4a34c753a538015f0b2cdaa0c9e3a4fd5 (patch) | |
tree | 0cbe7d3b00f9d51da7520a6280eb065ba5d3c55f /samples | |
parent | d4cd36220e861adb7dc5d507bae5524c6671e7d5 (diff) | |
download | linux-905889b4a34c753a538015f0b2cdaa0c9e3a4fd5.tar.bz2 |
iio: chemical: sps30: fix a loop timeout test
The "while (tries--) {" loop is a postop so it exits with "tries" set
to -1.
Fixes: 232e0f6ddeae ("iio: chemical: add support for Sensirion SPS30 sensor")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions