diff options
author | Chris Lesiak <chris.lesiak@licor.com> | 2019-11-21 20:39:42 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-17 20:39:09 +0100 |
commit | d1958757ac6fb4046d143ae9e905c3e6b0fe8b69 (patch) | |
tree | 1a5131e5eb0e7a089675f7cd055e3ebc256aee65 /drivers/usb | |
parent | f2643dec8fd5b6736f71b1cdc036982eefb04fe4 (diff) |
iio: humidity: hdc100x: fix IIO_HUMIDITYRELATIVE channel reporting
commit 342a6928bd5017edbdae376042d8ad6af3d3b943 upstream.
The IIO_HUMIDITYRELATIVE channel was being incorrectly reported back
as percent when it should have been milli percent. This is via an
incorrect scale value being returned to userspace.
Signed-off-by: Chris Lesiak <chris.lesiak@licor.com>
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions