patch "iio: adis16400: Report pressure channel scale" added to staging-linus
Subsystems (3)
This is a note to let you know that I've just added the patch titled
iio: adis16400: Report pressure channel scale
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-linus branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.
If you have any questions about this process, please let me know.
Quoted 1 line
From
69ca2d771e4e709c5ae1125858e1246e77ef8b86Mon Sep 17 00:00:00 2001
From: Lars-Peter Clausen <[email protected]>
Date: Fri, 15 May 2015 17:18:34 +0200
Subject: iio: adis16400: Report pressure channel scale
Add the scale for the pressure channel, which is currently missing.
--- drivers/iio/imu/adis16400_core.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/iio/imu/adis16400_core.c +5 -0
@@ -405,6 +405,11 @@ static int adis16400_read_raw(struct iio_dev *indio_dev, *val = st->variant->temp_scale_nano /1000000 ; *val2 = (st->variant->temp_scale_nano %1000000 );return IIO_VAL_INT_PLUS_MICRO ; +case IIO_PRESSURE : +/* 20 uBar = 0.002kPascal */ + *val =0 ; + *val2 =2000 ; +return IIO_VAL_INT_PLUS_MICRO ;default :return -EINVAL ; }
Signature · 1 line
2.4.1