diff options
author | Matt Ranostay <mranostay@gmail.com> | 2016-05-29 19:52:02 -0700 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-06-03 13:25:33 +0100 |
commit | 94bef000f1d4aa111f4ddda1482cf3b30ad069ce (patch) | |
tree | 214790b811c6b2d18b4b557d83d64ae32756a76e /Documentation/devicetree/bindings/iio | |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
0 files changed, 0 insertions, 0 deletions