summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/iio/pressure/mpl115.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/iio/pressure/mpl115.c')
-rw-r--r--kernel/drivers/iio/pressure/mpl115.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/iio/pressure/mpl115.c b/kernel/drivers/iio/pressure/mpl115.c
index f5ecd6e19..a0d7deeac 100644
--- a/kernel/drivers/iio/pressure/mpl115.c
+++ b/kernel/drivers/iio/pressure/mpl115.c
@@ -117,7 +117,7 @@ static int mpl115_read_raw(struct iio_dev *indio_dev,
*val = ret >> 6;
return IIO_VAL_INT;
case IIO_CHAN_INFO_OFFSET:
- *val = 605;
+ *val = -605;
*val2 = 750000;
return IIO_VAL_INT_PLUS_MICRO;
case IIO_CHAN_INFO_SCALE: