Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1462192 > unrolled thread
| Started by | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| First post | 2016-08-14 20:00 +0200 |
| Last post | 2016-08-14 20:00 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 3.16 164/305] iio: proximity: as3935: remove triggered buffer processing Ben Hutchings <ben@decadent.org.uk> - 2016-08-14 20:00 +0200
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Date | 2016-08-14 20:00 +0200 |
| Subject | [PATCH 3.16 164/305] iio: proximity: as3935: remove triggered buffer processing |
| Message-ID | <s67Rw-2Hd-23@gated-at.bofh.it> |
3.16.37-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Matt Ranostay <mranostay@gmail.com> commit 7d0643634ea567969bf3f3ed6193a9d6fc75653b upstream. Triggered buffers shouldn't return processed data, and the respective conversion was overflowing the defined .realbits for the channel. Cc: george.mccollister@gmail.com Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> --- drivers/iio/proximity/as3935.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/iio/proximity/as3935.c +++ b/drivers/iio/proximity/as3935.c @@ -213,7 +213,6 @@ static irqreturn_t as3935_trigger_handle if (ret) goto err_read; val &= AS3935_DATA_MASK; - val *= 1000; iio_push_to_buffers_with_timestamp(indio_dev, &val, pf->timestamp); err_read:
Back to top | Article view | linux.kernel
csiph-web