[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7e125a97-144d-2127-f9a0-753c69cb6dab@metafoo.de>
Date: Tue, 25 Oct 2016 20:51:30 +0200
From: Lars-Peter Clausen <lars@...afoo.de>
To: Colin King <colin.king@...onical.com>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Jonathan Cameron <jic23@...nel.org>,
Hartmut Knaack <knaack.h@....de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-iio@...r.kernel.org, devel@...verdev.osuosl.org
Cc: linux-kernel@...r.kernel.org
Subject: Re: [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 <colin.king@...onical.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@...onical.com>
Arnd did beat you by a few hours, https://lkml.org/lkml/2016/10/25/485
Powered by blists - more mailing lists