From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olof Johansson Subject: Re: [PATCH 05/11] gpio: tegra: configure pins during irq_set_type Date: Wed, 4 Apr 2012 10:58:55 -0700 Message-ID: <20120404175855.GE29919@quad.lixom.net> References: <1333148404-17691-1-git-send-email-swarren@wwwdotorg.org> <1333148404-17691-6-git-send-email-swarren@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1333148404-17691-6-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stephen Warren Cc: Colin Cross , Linus Walleij , linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Stephen Warren List-Id: linux-tegra@vger.kernel.org On Fri, Mar 30, 2012 at 04:59:58PM -0600, Stephen Warren wrote: > From: Stephen Warren > > When a Tegra GPIO is used as an IRQ, it should be enabled as a GPIO (so > the pinmux module isn't driving it as an output) and configured as a GPIO > input (so the GPIO module isn't driving it as an output). Set this up > automatically whenever an IRQ is requested, so that users of IRQs don't > need to do this. > > Signed-off-by: Stephen Warren Acked-by: Olof Johansson