From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422732AbbE2ViT (ORCPT ); Fri, 29 May 2015 17:38:19 -0400 Received: from mail-ie0-f171.google.com ([209.85.223.171]:33196 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422659AbbE2ViL (ORCPT ); Fri, 29 May 2015 17:38:11 -0400 Date: Fri, 29 May 2015 14:38:06 -0700 From: Dmitry Torokhov To: Pavel Machek Cc: Felipe Balbi , Maxime Ripard , Sebastian Reichel , kernel list , pali.rohar@gmail.com, sre@debian.org, sre@ring0.de, linux-arm-kernel , linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com Subject: Re: [PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900 Message-ID: <20150529213806.GC7429@dtor-ws> References: <20150529192505.GA28987@amd> <20150529193211.GA7599@amd> <20150529194955.GV2026@saruman.tx.rr.com> <20150529195629.GA9811@amd> <20150529201745.GC17267@lukather> <20150529202123.GY2026@saruman.tx.rr.com> <20150529202954.GA26494@localhost> <20150529203456.GC22083@amd> <20150529204847.GA7429@dtor-ws> <20150529210259.GA26866@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150529210259.GA26866@amd> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 29, 2015 at 11:02:59PM +0200, Pavel Machek wrote: > On Fri 2015-05-29 13:48:47, Dmitry Torokhov wrote: > > On Fri, May 29, 2015 at 10:34:56PM +0200, Pavel Machek wrote: > > > Hi! > > > > > > > > > single DT, you don't even use that property in your driver, and now > > > > > > that you realise you meant something else, you want the code that > > > > > > > > > > not Pali, Sebastian. > > > > > > > > > > > actually parse the *right* property and does the right thing, that all > > > > > > other DT agree (and depend on) to be reverted? > > > > > > > > > > We shouldn't revert, that I agree. But both properties should be parsed. > > > > > > > > No. If the property is wrong, and nobody parsed it, I do not see any reason to > > > > start now. > > > > > > Agreed. > > > > > > But that's not what I'm asking. See a changelog of > > > 3eea8b5d68c801fec788b411582b803463834752 and compare it with what it > > > actually does. > > > > > > It is buggy. If fuzz is specified but maximum is not, it overwites > > > maximum with zero. > > > > Yes. > > > > > > > > Plus it introduces new failure "if (!test_bit(axis, dev->absbit))". > > > > That is not a new failure. It actually warns users that they trying to > > specify in DT something that will be ignored by the kernel (because > > without that absbit kernel will ignore all requests to that event code). > > What if driver sets the bits after parsing device tree? It should not. Thanks. -- Dmitry