diff options
author | Jacek Anaszewski <j.anaszewski@samsung.com> | 2013-07-02 11:13:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-07-16 08:51:57 +0100 |
commit | 67dbf54a3b03881c7b683801fa49ca1f2c4c3bcf (patch) | |
tree | 3234d964658703fb7f022165bd19519c9e925fb3 /arch/h8300/boot | |
parent | 8f6817a0a57cf15935f8f076d0ade34da01cf26d (diff) |
iio: lps331ap: Fix wrong in_pressure_scale output valueiio-fixes-for-3.11a
This patch fixes improper in_pressure_scale output that is
returned by the lps331ap barometer sensor driver. According
to the documentation the pressure after applying the scale has to
be expressed in kilopascal units. With erroneous implementation
the scale value larger by two orders of magnitude is returned -
2441410 instead of 24414.
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'arch/h8300/boot')
0 files changed, 0 insertions, 0 deletions