From: Takashi Iwai Subject: Re: [PATCH 3/8] ASoC pxa2xx AC97 support Date: Tue, 10 Oct 2006 19:14:32 +0200 Message-ID: References: <1160497176.24436.112.camel@localhost.localdomain> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1160497176.24436.112.camel@localhost.localdomain> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Liam Girdwood Cc: Nicolas Pitre , alsa-devel List-Id: alsa-devel@alsa-project.org At Tue, 10 Oct 2006 17:19:36 +0100, Liam Girdwood wrote: > +/* may need to expand this */ > +static struct snd_soc_dai_mode pxa2xx_ac97_modes[] = { > + {0, 0, SNDRV_PCM_FMTBIT_S16_LE, AC97_RATES}, Better to use ".field = value" initialization. > +static irqreturn_t pxa2xx_ac97_irq(int irq, void *dev_id, > + struct pt_regs *regs) Note that in the latest kernel code, the last struct pt_regs pointer is removed from irq handler. I already updated ALSA HG tree accordingly. > +static int pxa2xx_ac97_probe(struct platform_device *pdev) > +{ > + int ret; > + > + ret = request_irq(IRQ_AC97, pxa2xx_ac97_irq, 0, "AC97", NULL); Don't you need IRQF_DISABLED (former SA_INTERRUPT)? Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV