[alsa-devel] Releasing IRQs in older kernels

Takashi Iwai tiwai at suse.de
Wed Apr 16 11:25:49 CEST 2008


At Tue, 15 Apr 2008 20:36:04 +0300,
Risto Suominen wrote:
> 
> 2008/4/15, Takashi Iwai <tiwai at suse.de>:
> >
> > 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);
> 


More information about the Alsa-devel mailing list