commit | e0ad9b73e81a2dfb8cf8b375fefbb0891a8187a1 | [log] [tgz] |
---|---|---|
author | Song Hongyan <hongyan.song@intel.com> | Mon Mar 20 17:12:54 2017 +0800 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Mar 25 16:25:11 2017 +0000 |
tree | 5b1a8d49f760bd3c7854189cd025c38847e49769 | |
parent | 5e7f47e495ad3657e1a7264bf20fb363607161e6 [diff] |
iio: hid-sensor-attributes: Fix gravity sensor scale value not right issue Scale value include two parts: unit conversion and exponent conversion. Add gravity unit convert table to fix gravity sensor scale value not right issue. Signed-off-by: Song Hongyan <hongyan.song@intel.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>