[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <552668EA.3060409@kernel.org>
Date: Thu, 09 Apr 2015 12:56:26 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Vlad Dogaru <vlad.dogaru@...el.com>,
Irina Tirdea <irina.tirdea@...el.com>
CC: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
Hartmut Knaack <knaack.h@....de>
Subject: Re: [PATCH] iio: pressure: bmp280: fix temp compensation
On 08/04/15 16:30, Vlad Dogaru wrote:
> On Wed, Apr 08, 2015 at 06:26:12PM +0300, Irina Tirdea wrote:
>> Temperature reads on bmp280 device always return 0,
>> due to a missing step in the compensation formula
>> (data->tfine is never initialized).
>>
>> Initialize data->tfine value so we get correct
>> temperature and pressure values.
>>
>> Signed-off-by: Irina Tirdea <irina.tirdea@...el.com>
>
> Reviewed-by: Vlad Dogaru <vlad.dogaru@...el.com>
>
> Nice catch, this must have been lost during a refactoring.
>
> Thanks,
> Vlad
>
Thanks,
Applied to fixes-togreg which is now based on staging-next
which gives you an idea of when this will go to Greg now!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists