aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorTomasz Duszynski <[email protected]>2018-05-28 15:38:59 +0000
committerJonathan Cameron <[email protected]>2018-06-24 13:22:35 +0000
commit13399ff25f179811ce9c1df1523eb39f9e4a4772 (patch)
treef53428fe215038822f3578c62cd56c0d219ea5a3 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parentLinux 4.18-rc1 (diff)
downloadkernel-13399ff25f179811ce9c1df1523eb39f9e4a4772.tar.gz
kernel-13399ff25f179811ce9c1df1523eb39f9e4a4772.zip
iio: pressure: bmp280: fix relative humidity unit
According to IIO ABI relative humidity reading should be returned in milli percent. This patch addresses that by applying proper scaling and returning integer instead of fractional format type specifier. Note that the fixes tag is before the driver was heavily refactored to introduce spi support, so the patch won't apply that far back. Signed-off-by: Tomasz Duszynski <[email protected]> Fixes: 14beaa8f5ab1 ("iio: pressure: bmp280: add humidity support") Acked-by: Matt Ranostay <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions