From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Henrik Rydberg" Subject: Re: [PATCH v2] [input-hid] Add hid-egalax driver to the unified hid-multitouch framework. Date: Tue, 8 Mar 2011 10:46:30 +0100 Message-ID: <20110308094630.GA3396@polaris.bitmath.org> References: <1299417912.9645.495.camel@itzy> <1299564524.2306.18.camel@itzy> <20110308080414.GA2888@polaris.bitmath.org> <20110308091434.GA3282@polaris.bitmath.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:39801 "EHLO ch-smtp02.sth.basefarm.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754320Ab1CHJpM (ORCPT ); Tue, 8 Mar 2011 04:45:12 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Benjamin Tissoires Cc: Richard Nauber , linux-input , Jiri Kosina , =?iso-8859-1?Q?St=E9phane?= Chatty > >> I'm not in favor of a quirk in this particular case: the information > >> is already here: max > 0. > > > > Only if min == 0, which is far from always the case. And setting a > > special value for a special hardware does what a quirk does, so maybe > > it is a quirk after all. > > > > I think there is a misunderstanding: > if the class provides max_x (so > 0), or min_x, that means that the > person in charge of adding the driver wants to replace the two values > min/max. What I meant is that (min_x < max_x) is the proper test. > No need for a quirk that will be redundant with the hand-provided values. Yes, but I think we might be better off using a quirk than a generic way to replace the values provided by the hardware. Thanks, Henrik