Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752594AbbFMSc5 (ORCPT ); Sat, 13 Jun 2015 14:32:57 -0400 Received: from mail-la0-f54.google.com ([209.85.215.54]:34352 "EHLO mail-la0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750749AbbFMScu (ORCPT ); Sat, 13 Jun 2015 14:32:50 -0400 MIME-Version: 1.0 In-Reply-To: <557C749E.2090005@kernel.org> References: <1434037774-22081-1-git-send-email-daniel.baluta@intel.com> <1434037774-22081-3-git-send-email-daniel.baluta@intel.com> <20150612074046.GB14044@vdogaru> <557C749E.2090005@kernel.org> Date: Sat, 13 Jun 2015 21:32:48 +0300 X-Google-Sender-Auth: u-tXpuUsxlaRQoGQTHjk9GxWI1g Message-ID: Subject: Re: [PATCH 2/2] iio: proximity: sx9500: Fix proximity value From: Daniel Baluta To: Jonathan Cameron Cc: Vlad Dogaru , Daniel Baluta , Peter Meerwald , Tiberiu Breana , Hartmut Knaack , Lars-Peter Clausen , Linux Kernel Mailing List , "linux-iio@vger.kernel.org" , Greg KH Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1763 Lines: 43 On Sat, Jun 13, 2015 at 9:21 PM, Jonathan Cameron wrote: > On 12/06/15 08:40, Vlad Dogaru wrote: >> On Thu, Jun 11, 2015 at 06:49:34PM +0300, Daniel Baluta wrote: >>> Because of the ABI confusion proximity value exposed by SX9500 >>> was inverted. >>> >>> Signed-off-by: Daniel Baluta >> >> Reviewed-by: Vlad Dogaru >> >> Sorry for causing the confusion, it was the only proximity sensor I had >> encountered to date. > Greg, > > I've cc'd you to let you know that this fix causes an ABI change for > one driver. Technically that driver actually matched with the current documentation, > just the documentation was misleading and lots of drivers have ended up with > the reverse interpretation (question was whether proximity values get larger > or smaller as you get nearer). > > Anyhow, given timing I doubt the pull request will reach you until after the > merge window. I am also going to mark this for stable to cover the 4.0 and 4.1 > kernels that have this driver in them. > > Hope that's fine! > > Applied to the fixes-togreg branch of iio.git > > Daniel, thanks for clearing this mess up and checking through all the drivers > and datasheets to figure out it was only this one! You are welcome. Also, lets not forget that as mentioned in the cover letter there is still one driver that needs to be fixed. That is stk3310, where the fix is not trivial, but I have already talked with Tiberiu and he will take care of it. thanks, Daniel. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/