Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 66F31E0095D; Wed, 20 May 2015 09:56:31 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [178.32.96.204 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] X-Greylist: delayed 419 seconds by postgrey-1.32 at yocto-www; Wed, 20 May 2015 09:56:28 PDT Received: from 9.mo5.mail-out.ovh.net (9.mo5.mail-out.ovh.net [178.32.96.204]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id F0EF4E004F6 for ; Wed, 20 May 2015 09:56:28 -0700 (PDT) Received: from mail243.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo5.mail-out.ovh.net (Postfix) with SMTP id C3D36FFB9AB for ; Wed, 20 May 2015 18:49:23 +0200 (CEST) Received: from localhost (HELO queueout) (127.0.0.1) by localhost with SMTP; 20 May 2015 18:49:23 +0200 Received: from tal33-3-82-233-81-124.fbx.proxad.net (HELO e6520eb.localdomain) (eric%eukrea.com@82.233.81.124) by ns0.ovh.net with SMTP; 20 May 2015 18:49:20 +0200 Date: Wed, 20 May 2015 18:49:19 +0200 From: Eric =?UTF-8?B?QsOpbmFyZA==?= To: Otavio Salvador Message-ID: <20150520184919.3e6b8d9b@e6520eb.localdomain> In-Reply-To: References: <1432137253-5312-1-git-send-email-gary@mlbassoc.com> Organization: =?UTF-8?B?RXVrcsOpYQ==?= Electromatique X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 X-Ovh-Tracer-Id: 13479273685268868476 X-Ovh-Remote: 82.233.81.124 (tal33-3-82-233-81-124.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: -100 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeekuddrudekucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeekuddrudekucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Cc: "meta-freescale@yoctoproject.org" , Gary Thomas Subject: Re: [PATCH] kernel 3.14.28/gpiolib: Return GPIO logical value, not true value X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 16:56:31 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le Wed, 20 May 2015 13:34:24 -0300, Otavio Salvador a =C3=A9crit : > On Wed, May 20, 2015 at 12:54 PM, Gary Thomas wrote: > > Previous versions of the kernel returned the logical value of > > GPIO signals (i.e. 0 or 1). This patch restores this behavior. > > > > Signed-off-by: Gary Thomas >=20 > I am not sure this is a correct fix. I tried to find out the commit > which changed the behaviour without success. >=20 > Fabio, is it possible for you to check how mainline is behaving? and > more important does it need any fix? >=20 fixed mainline by : 25b35da gpio: generic: clamp retured value to [0,1] which is not in 3.4.28 Eric