From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] ASoC: Add GPIO support for jack reporting interface Date: Tue, 3 Mar 2009 11:16:40 +0000 Message-ID: <20090303111640.GC27155@sirena.org.uk> References: <2C7D3DF36ADFFC479B44490D912B616705ECD6D7C1@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 4D894245AA for ; Tue, 3 Mar 2009 12:16:42 +0100 (CET) Content-Disposition: inline In-Reply-To: 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: Takashi Iwai Cc: "alsa-devel@alsa-project.org" , "Lopez Cruz, Misael" List-Id: alsa-devel@alsa-project.org On Tue, Mar 03, 2009 at 07:41:16AM +0100, Takashi Iwai wrote: > I prefer GPIO stuff built in conditionally. > The jack layer is used also for non-ASoC codes, and GPIO isn't always > present. This is the jack wrapper in sound/soc rather in the generic sound/core version so it should be safe to have it in unconditionally (I'd be surprised if an ASoC platform didn't have gpiolib support), though there's no harm in making it conditional on gpiolib either.