From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH 2/4] ASoC: Add Palm/PXA27x unified ASoC audio driver Date: Wed, 05 Nov 2008 21:35:53 +0100 Message-ID: References: <20081105185220.GA10816@rakim.wolfsonmicro.main> <1225911211-22474-1-git-send-email-broonie@opensource.wolfsonmicro.com> <1225911211-22474-2-git-send-email-broonie@opensource.wolfsonmicro.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id D61F6244DA for ; Wed, 5 Nov 2008 21:35:53 +0100 (CET) In-Reply-To: <1225911211-22474-2-git-send-email-broonie@opensource.wolfsonmicro.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: Mark Brown Cc: Marek Vasut , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Wed, 5 Nov 2008 18:53:29 +0000, Mark Brown wrote: > > From: Marek Vasut > > this patch adds asoc audio driver for pxa27x based Palm PDAs. I tested it for > palmtx, t5 and ld, it should work with palmz72 as well (slapin, please test). > I sent it here some time ago, but now I got to fixing bugs in it. It should > be somehow mostly ok and ready for applying. > > [Converted to use snd_soc_dapm_nc_pin() -- broonie] > > Signed-off-by: Marek Vasut > Signed-off-by: Mark Brown > --- > arch/arm/mach-pxa/include/mach/palmasoc.h | 13 ++ > sound/soc/pxa/Kconfig | 9 + > sound/soc/pxa/Makefile | 2 + > sound/soc/pxa/palm27x.c | 269 +++++++++++++++++++++++++++++ > 4 files changed, 293 insertions(+), 0 deletions(-) > create mode 100644 arch/arm/mach-pxa/include/mach/palmasoc.h > create mode 100644 sound/soc/pxa/palm27x.c > > diff --git a/arch/arm/mach-pxa/include/mach/palmasoc.h b/arch/arm/mach-pxa/include/mach/palmasoc.h > new file mode 100644 > index 0000000..6c4b1f7 > --- /dev/null > +++ b/arch/arm/mach-pxa/include/mach/palmasoc.h > @@ -0,0 +1,13 @@ > +#ifndef _INCLUDE_PALMASOC_H_ > +#define _INCLUDE_PALMASOC_H_ > +struct palm27x_asoc_info { > + int jack_gpio; > +}; > + > +#ifdef CONFIG_SND_PXA2XX_SOC_PALM27X > +void __init palm27x_asoc_set_pdata(struct palm27x_asoc_info *data); I wonder whether it's really __init. Note that the driver can be a module in theory. Takashi