On 22/05/16 04:01, Matt Ranostay wrote: > Triggered buffers shouldn't return processed data, and the respective > conversion was overflowing the defined .realbits for the channel. > > Cc: george.mccollister@xxxxxxxxx > Signed-off-by: Matt Ranostay <mranostay@xxxxxxxxx> Applied to the fixes-togreg-post-rc1 branch of iio.git (because it was handy) and marked for stable. > --- > drivers/iio/proximity/as3935.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/iio/proximity/as3935.c b/drivers/iio/proximity/as3935.c > index f0a0def..6aed024 100644 > --- a/drivers/iio/proximity/as3935.c > +++ b/drivers/iio/proximity/as3935.c > @@ -213,7 +213,6 @@ static irqreturn_t as3935_trigger_handler(int irq, void *private) > if (ret) > goto err_read; > val &= AS3935_DATA_MASK; > - val *= 1000; > > iio_push_to_buffers_with_timestamp(indio_dev, &val, pf->timestamp); > err_read: > -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html