Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1508559
| From | Lars-Peter Clausen <lars@metafoo.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] staging: iio: cdc: ad7746: set ret on IIO_VOLTAGE case |
| Date | 2016-10-25 21:00 +0200 |
| Message-ID | <swf74-Zy-17@gated-at.bofh.it> (permalink) |
| References | <sweXo-W6-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 10/25/2016 08:44 PM, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > For a IIO_VOLTAGE case, ret is not being set causing an > uninitialized value being returned by ad7746_read_raw. Fix > this by setting ret to IIO_VAL_INT for this specific case. > > Signed-off-by: Colin Ian King <colin.king@canonical.com> Arnd did beat you by a few hours, https://lkml.org/lkml/2016/10/25/485
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] staging: iio: cdc: ad7746: set ret on IIO_VOLTAGE case Colin King <colin.king@canonical.com> - 2016-10-25 20:50 +0200 Re: [PATCH] staging: iio: cdc: ad7746: set ret on IIO_VOLTAGE case Lars-Peter Clausen <lars@metafoo.de> - 2016-10-25 21:00 +0200
csiph-web