From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 2/2] ASoC: Add headset jack detection for SDP3430 machine driver Date: Fri, 6 Mar 2009 11:01:19 +0000 Message-ID: <20090306110116.GA6493@sirena.org.uk> References: <2C7D3DF36ADFFC479B44490D912B616705ECE137B9@dlee07.ent.ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cassiel.sirena.org.uk (cassiel.sirena.org.uk [80.68.93.111]) by alsa0.perex.cz (Postfix) with ESMTP id C3A90243D7 for ; Fri, 6 Mar 2009 12:01:30 +0100 (CET) Content-Disposition: inline In-Reply-To: <2C7D3DF36ADFFC479B44490D912B616705ECE137B9@dlee07.ent.ti.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: "Lopez Cruz, Misael" Cc: "alsa-devel@alsa-project.org" , "linux-omap@vger.kernel.org" List-Id: alsa-devel@alsa-project.org On Thu, Mar 05, 2009 at 11:32:31AM -0600, Lopez Cruz, Misael wrote: > Add headset jack detection for SDP3430 boards using SoC jack > reporting interface. Headset detection on SDP3430 board is > achieved through TWL4030 GPIO_2 pin. Applied, thanks. One comment: > +/* Headset jack detection gpios */ > +static struct snd_soc_jack_gpio hs_jack_gpios[] = { > + { > + .gpio = (OMAP_MAX_GPIO_LINES + 2), It feels like there should be a nicer way of specifying the GPIO number?