diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-10-05 21:03:43 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-10-05 21:03:43 -0400 |
commit | 4ad99f15c6a3cadf36928c399459ea4fdb3d49f9 (patch) | |
tree | d0536e4da737900fa27b235f175a3d179d692200 /sound/pci/als4000.c | |
parent | 46767aeba58ca9357a2309765201bad38d8f5e9b (diff) | |
parent | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (diff) |
Merge branch 'master' into upstream-fixes
Diffstat (limited to 'sound/pci/als4000.c')
-rw-r--r-- | sound/pci/als4000.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/als4000.c b/sound/pci/als4000.c index 9e596f750cbd..15fc3929b5f7 100644 --- a/sound/pci/als4000.c +++ b/sound/pci/als4000.c | |||
@@ -385,7 +385,7 @@ static snd_pcm_uframes_t snd_als4000_playback_pointer(struct snd_pcm_substream * | |||
385 | * SB IRQ status. | 385 | * SB IRQ status. |
386 | * And do we *really* need the lock here for *reading* SB_DSP4_IRQSTATUS?? | 386 | * And do we *really* need the lock here for *reading* SB_DSP4_IRQSTATUS?? |
387 | * */ | 387 | * */ |
388 | static irqreturn_t snd_als4000_interrupt(int irq, void *dev_id, struct pt_regs *regs) | 388 | static irqreturn_t snd_als4000_interrupt(int irq, void *dev_id) |
389 | { | 389 | { |
390 | struct snd_sb *chip = dev_id; | 390 | struct snd_sb *chip = dev_id; |
391 | unsigned gcr_status; | 391 | unsigned gcr_status; |
@@ -399,7 +399,7 @@ static irqreturn_t snd_als4000_interrupt(int irq, void *dev_id, struct pt_regs * | |||
399 | if ((gcr_status & 0x40) && (chip->capture_substream)) /* capturing */ | 399 | if ((gcr_status & 0x40) && (chip->capture_substream)) /* capturing */ |
400 | snd_pcm_period_elapsed(chip->capture_substream); | 400 | snd_pcm_period_elapsed(chip->capture_substream); |
401 | if ((gcr_status & 0x10) && (chip->rmidi)) /* MPU401 interrupt */ | 401 | if ((gcr_status & 0x10) && (chip->rmidi)) /* MPU401 interrupt */ |
402 | snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data, regs); | 402 | snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data); |
403 | /* release the gcr */ | 403 | /* release the gcr */ |
404 | outb(gcr_status, chip->alt_port + 0xe); | 404 | outb(gcr_status, chip->alt_port + 0xe); |
405 | 405 | ||