[lkml]   [2016]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] staging: iio: cdc: ad7746: set ret on IIO_VOLTAGE case
On 10/25/2016 08:44 PM, Colin King wrote:
> From: Colin Ian King <>
> 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 <>

Arnd did beat you by a few hours,

 \ /
  Last update: 2016-10-25 20:52    [W:0.034 / U:2.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site