]> err.no Git - linux-2.6/commitdiff
[ALSA] als4000 - Fix kernel panic with MPU401
authorTakashi Iwai <tiwai@suse.de>
Fri, 27 May 2005 09:34:34 +0000 (11:34 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sun, 29 May 2005 08:15:21 +0000 (10:15 +0200)
ALS4000 driver
Fix kernel panic with als4000 when MPU401 is accessed.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/als4000.c

index cdc1134cdeddf6a1dcb87c91d90e7dda694d8d1b..ca28b229c704051154ef1a05aae2a485f7234e64 100644 (file)
@@ -367,7 +367,7 @@ static irqreturn_t snd_als4000_interrupt(int irq, void *dev_id, struct pt_regs *
        if ((gcr_status & 0x40) && (chip->capture_substream)) /* capturing */
                snd_pcm_period_elapsed(chip->capture_substream);
        if ((gcr_status & 0x10) && (chip->rmidi)) /* MPU401 interrupt */
-               snd_mpu401_uart_interrupt(irq, chip->rmidi, regs);
+               snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data, regs);
        /* release the gcr */
        outb(gcr_status, chip->alt_port + 0xe);