On 06/07/2013 10:23 AM, Jonghwan Choi wrote: > From: Michael Hennerich <michael.hennerich@xxxxxxxxxx> > > This patch looks like it should be in the 3.9-stable tree, should we apply > it? > There don't actually appear to be any in tree users, but then it is a trivial patch and might help someone so yes, it probably does want to go in 3.9-stable. Thanks Jonathan > ------------------ > > From: "Michael Hennerich <michael.hennerich@xxxxxxxxxx>" > > commit 6c5d4c96f979611f0165dc825af9e1cea8dd35b9 upstream > > Signed-off-by: Michael Hennerich <michael.hennerich@xxxxxxxxxx> > Signed-off-by: Jonathan Cameron <jic23@xxxxxxxxxx> > Signed-off-by: Jonghwan Choi <jhbird.choi@xxxxxxxxxxx> > --- > drivers/iio/inkern.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/inkern.c b/drivers/iio/inkern.c > index b289915..8ff1a2d 100644 > --- a/drivers/iio/inkern.c > +++ b/drivers/iio/inkern.c > @@ -279,7 +279,7 @@ static int iio_convert_raw_to_processed_unlocked(struct iio_channel *chan, > s64 raw64 = raw; > int ret; > > - ret = iio_channel_read(chan, &offset, NULL, IIO_CHAN_INFO_SCALE); > + ret = iio_channel_read(chan, &offset, NULL, IIO_CHAN_INFO_OFFSET); > if (ret == 0) > raw64 += offset; > > -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html