From: Takashi Iwai Subject: Re: Releasing IRQs in older kernels Date: Wed, 16 Apr 2008 11:25:49 +0200 Message-ID: References: <46e1c7760804141348g11097cfcte0c06c204d7d28cd@mail.gmail.com> <46e1c7760804151036l439fd36ayba074118690e212e@mail.gmail.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 CC1FC10382B for ; Wed, 16 Apr 2008 11:25:49 +0200 (CEST) In-Reply-To: <46e1c7760804151036l439fd36ayba074118690e212e@mail.gmail.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: Risto Suominen Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 15 Apr 2008 20:36:04 +0300, Risto Suominen wrote: > > 2008/4/15, Takashi Iwai : > > > > Does the patch below work? > > > > That was fast. And so simple. Thank you. It works :) > > Risto > > ps. There are still warnings about 2nd argument's types in > ppc/pmac_old.c lines 1248, 1256 , and 1263. Maybe this is the right > way to get rid of them: Oh yes, thanks, fixed on HG tree now. Takashi > > --- ppc/pmac_old.c.orig 2008-02-05 11:23:23.000000000 +0200 > +++ ppc/pmac_old.c 2008-04-15 20:05:56.000000000 +0300 > @@ -725,7 +725,7 @@ void snd_pmac_beep_dma_stop(struct snd_p > * interrupt handlers > */ > static irqreturn_t > -snd_pmac_tx_intr(int irq, void *devid, struct pt_regs *regs) > +snd_pmac_tx_intr(int irq, void *devid) > { > struct snd_pmac *chip = devid; > snd_pmac_pcm_update(chip, &chip->playback); > @@ -734,7 +734,7 @@ snd_pmac_tx_intr(int irq, void *devid, s > > > static irqreturn_t > -snd_pmac_rx_intr(int irq, void *devid, struct pt_regs *regs) > +snd_pmac_rx_intr(int irq, void *devid) > { > struct snd_pmac *chip = devid; > snd_pmac_pcm_update(chip, &chip->capture); > @@ -743,7 +743,7 @@ snd_pmac_rx_intr(int irq, void *devid, s > > > static irqreturn_t > -snd_pmac_ctrl_intr(int irq, void *devid, struct pt_regs *regs) > +snd_pmac_ctrl_intr(int irq, void *devid) > { > struct snd_pmac *chip = devid; > int ctrl = in_le32(&chip->awacs->control); >