From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.aswsp.com ([193.34.35.150]:54517 "EHLO mail.aswsp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754775AbcIHIRJ (ORCPT ); Thu, 8 Sep 2016 04:17:09 -0400 Message-ID: <57D11F7A.3020708@parrot.com> Date: Thu, 8 Sep 2016 10:21:14 +0200 From: Gregor Boirie MIME-Version: 1.0 To: Lars-Peter Clausen , Jonathan Cameron , CC: Hartmut Knaack , Peter Meerwald-Stadler Subject: Re: [PATCH v1 1/1] iio:core: fix IIO_VAL_FRACTIONAL sign handling References: <32c015f4-bbd7-e2f4-3b4c-f7799ea95360@metafoo.de> <419daee6-1e68-dba4-3e04-3c13d58eea44@kernel.org> <57D0584E.2000709@parrot.com> <1fee492b-55f1-cffa-4bef-9e5ed421551d@metafoo.de> In-Reply-To: <1fee492b-55f1-cffa-4bef-9e5ed421551d@metafoo.de> Content-Type: text/plain; charset="windows-1252"; format=flowed Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On 09/07/2016 08:54 PM, Lars-Peter Clausen wrote: > On 09/07/2016 08:11 PM, Gregor Boirie wrote: >> Just to mention that a somewhat similar patch might be needed to handle >> negative >> IIO_VAL_FRACTIONAL_LOG2 values. > Hm, right, Michael's patch handled that. Do you want to send a patch, or do > you prefer that somebody else sends it? I'm sure Michael's patch will suit me, not to mention that I have no driver requiring IIO_VAL_FRACTIONAL_LOG2 computation on my setup :) Please, go ahead. Regards, Grégor. > > Thanks, > - Lars