Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932505Ab3FFKkx (ORCPT ); Thu, 6 Jun 2013 06:40:53 -0400 Received: from kdh-gw.itdev.co.uk ([89.21.227.133]:3475 "EHLO hermes.kdh.itdev.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932141Ab3FFKkw (ORCPT ); Thu, 6 Jun 2013 06:40:52 -0400 Message-ID: <51B06732.2050701@itdev.co.uk> Date: Thu, 06 Jun 2013 11:40:50 +0100 From: Nick Dyer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: Mark Brown CC: Dmitry Torokhov , Daniel Kurtz , Henrik Rydberg , Joonyoung Shim , Alan.Bowens@atmel.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, pmeerw@pmeerw.net, bleung@chromium.org, olofj@chromium.org Subject: Re: [PATCH 10/53] Input: atmel_mxt_ts - Add memory access interface via sysfs References: <1370453866-16534-1-git-send-email-nick.dyer@itdev.co.uk> <7380889.l4hHqCT0mm@dtor-d630.eng.vmware.com> <51AF8730.4010507@itdev.co.uk> <1717403.GgHsbyUkDZ@dtor-d630.eng.vmware.com> <51AFA02B.3000604@itdev.co.uk> <20130605210715.GA16013@core.coreip.homeip.net> <20130606094822.GB1883@sirena.org.uk> In-Reply-To: <20130606094822.GB1883@sirena.org.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1149 Lines: 25 Mark Brown wrote: > On Wed, Jun 05, 2013 at 02:07:15PM -0700, Dmitry Torokhov wrote: >> On Wed, Jun 05, 2013 at 09:31:39PM +0100, Nick Dyer wrote: > >>> It's partly path dependence - it was implemented like this because regmap >>> wasn't in mainline at the point when I wrote it. Having a dependency on >>> regmap would now be a API break complicating support of customers using >>> older kernels than mainline. I would also have to update a bunch of > >> This was never a good argument for introducing an interface into the >> kernel. > > Indeed, and regmap is very easy to backport - it demands little from the > rest of the kernel and most of that is bus specific so you can pretty > much just copy it into an older kernel. That is good news. It would still be an extra thing to add to the docs, but not a blocking point. I am more worried about the address pointer handling and the I2C retries. -- 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/