OSDN Git Service

iio: humidity: hdc100x: fix IIO_TEMP channel reporting
authorMatt Ranostay <mranostay@gmail.com>
Fri, 27 May 2016 02:55:06 +0000 (19:55 -0700)
committerJonathan Cameron <jic23@kernel.org>
Sun, 29 May 2016 18:45:54 +0000 (19:45 +0100)
commit09bc0ddaab6cab0fa95a67d5535ec772e2671193
tree398c6449d0ec6541d760dce49362b480d1f1c661
parentd43a41152f8e9e4c0d19850884d1fada076dee10
iio: humidity: hdc100x: fix IIO_TEMP channel reporting

IIO_TEMP channel was being incorrectly reported back as Celsius when it
should have been milliCelsius. This is via an incorrect scale value being
returned to userspace.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/humidity/hdc100x.c