From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752787Ab0ETS5m (ORCPT ); Thu, 20 May 2010 14:57:42 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:53030 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751481Ab0ETS5k (ORCPT ); Thu, 20 May 2010 14:57:40 -0400 Date: Thu, 20 May 2010 20:04:17 +0100 From: Alan Cox To: Andrew Morton Cc: felipe.balbi@nokia.com, Linux OMAP Mailing List , Linux Kernel Mailing List , Tony Lindgren , David Brownell , Mark Brown Subject: Re: [PATCH 1/5] gpiolib: introduce set_debounce method Message-ID: <20100520200417.5ec99735@lxorguk.ukuu.org.uk> In-Reply-To: <20100520110600.be702f58.akpm@linux-foundation.org> References: <1274090554-19420-1-git-send-email-felipe.balbi@nokia.com> <1274090554-19420-2-git-send-email-felipe.balbi@nokia.com> <20100520110600.be702f58.akpm@linux-foundation.org> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.9; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > +EXPORT_SYMBOL_GPL(gpio_set_debounce); > > nitlet: I suspect this function is taking gpio_lock sooner than it > strictly needs to. Find-tuning that would decrease contention by an > insignificant amount ;) We need this for Intel MID boxes as well Andrew - so its a generic need. Alan