1
0
Fork 0

[ALSA] als4000 - Fix kernel panic with MPU401

ALS4000 driver
Fix kernel panic with als4000 when MPU401 is accessed.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
hifive-unleashed-5.1
Takashi Iwai 2005-05-27 11:34:34 +02:00 committed by Jaroslav Kysela
parent af0816139f
commit 11ca9afcfe
1 changed files with 1 additions and 1 deletions

View 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);