OpenCloudOS-Kernel/drivers/iio/humidity
Matt Ranostay 94bef000f1 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>
2016-06-03 13:25:33 +01:00
..
Kconfig iio: humidity: Add support for AM2315 2016-04-24 09:56:07 +01:00
Makefile iio: humidity: Add support for AM2315 2016-04-24 09:56:07 +01:00
am2315.c iio: humidity: am2315: Remove a stray unlock 2016-05-21 17:47:14 +01:00
dht11.c iio: dht11: Improve logging 2016-04-10 17:40:06 +01:00
hdc100x.c iio: hudmidity: hdc100x: fix incorrect shifting and scaling 2016-06-03 13:25:33 +01:00
htu21.c iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
si7005.c iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
si7020.c iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00