commit | 94bef000f1d4aa111f4ddda1482cf3b30ad069ce | [log] [tgz] |
---|---|---|
author | Matt Ranostay <mranostay@gmail.com> | Sun May 29 19:52:02 2016 -0700 |
committer | Jonathan Cameron <jic23@kernel.org> | Fri Jun 03 13:25:33 2016 +0100 |
tree | 214790b811c6b2d18b4b557d83d64ae32756a76e | |
parent | 590b92a30242dd3f73de3d9a51d9924f1ab33e93 [diff] |
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>