From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 1/3] ASoC: sn95031: Add jack support in the codec Date: Wed, 9 Feb 2011 12:11:39 +0000 Message-ID: <20110209121139.GA24042@opensource.wolfsonmicro.com> References: <1297242747-18632-1-git-send-email-vinod.koul@intel.com> <1297242747-18632-2-git-send-email-vinod.koul@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 36B47103847 for ; Wed, 9 Feb 2011 13:11:41 +0100 (CET) Content-Disposition: inline In-Reply-To: <1297242747-18632-2-git-send-email-vinod.koul@intel.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: "Koul, Vinod" Cc: alsa-devel@alsa-project.org, Harsha Priya , lrg@slimlogic.co.uk List-Id: alsa-devel@alsa-project.org On Wed, Feb 09, 2011 at 02:42:25PM +0530, Koul, Vinod wrote: > +void disable_jack_btn(struct snd_soc_codec *codec) > +{ > + snd_soc_write(codec, SN95031_BTNCTRL2, 0x00); > +} > +EXPORT_SYMBOL_GPL(disable_jack_btn); This needs to be namespaced. It's also surprising that the matching enable function isn't exposed... The code itself looks OK.