From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755190Ab1ITJtn (ORCPT ); Tue, 20 Sep 2011 05:49:43 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:43360 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752742Ab1ITJtm (ORCPT ); Tue, 20 Sep 2011 05:49:42 -0400 Date: Mon, 19 Sep 2011 23:16:19 +0100 From: Mark Brown To: Peter Ujfalusi Cc: Samuel Ortiz , Dmitry Torokhov , Liam Girdwood , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Misael Lopez Cruz Subject: Re: [alsa-devel] [PATCH 04/17] MFD: twl6040: Fix power on GPIO handling Message-ID: <20110919221619.GC23179@opensource.wolfsonmicro.com> References: <1316090379-30760-1-git-send-email-peter.ujfalusi@ti.com> <1316090379-30760-5-git-send-email-peter.ujfalusi@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1316090379-30760-5-git-send-email-peter.ujfalusi@ti.com> X-Cookie: You are always busy. 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 Thu, Sep 15, 2011 at 03:39:26PM +0300, Peter Ujfalusi wrote: > Avoid requesting the audpwron gpio in case of ES1.0 > revision. > In the past we requested the gpio, but we did not > free it up, since we made the check for the revision > later. This results later checks for gpio validity to > fail, leaving the gpio reserved (even after the driver > has been removed). Applied, thanks.