diff options
author | Matt Ranostay <mranostay@gmail.com> | 2016-05-30 02:52:02 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-06-03 12:25:33 (GMT) |
commit | 94bef000f1d4aa111f4ddda1482cf3b30ad069ce (patch) | |
tree | 214790b811c6b2d18b4b557d83d64ae32756a76e /Documentation/ABI/testing | |
parent | 590b92a30242dd3f73de3d9a51d9924f1ab33e93 (diff) | |
download | linux-94bef000f1d4aa111f4ddda1482cf3b30ad069ce.tar.xz |
iio: hudmidity: hdc100x: fix incorrect shifting and scaling
Shifting sensor data to the right 2 bits was incorrect and caused the
scaling values + offsets to be invalid.
Reported-by: Alison Schofield <amsfield22@gmail.com>
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Tested-by: Alison Schofield <amsfield22@gmail.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/ABI/testing')
0 files changed, 0 insertions, 0 deletions