diff options
Diffstat (limited to 'sound/pcmcia/pdaudiocf/pdaudiocf_irq.c')
-rw-r--r-- | sound/pcmcia/pdaudiocf/pdaudiocf_irq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pcmcia/pdaudiocf/pdaudiocf_irq.c b/sound/pcmcia/pdaudiocf/pdaudiocf_irq.c index 7c5f21e45cb4..5bd69206ba65 100644 --- a/sound/pcmcia/pdaudiocf/pdaudiocf_irq.c +++ b/sound/pcmcia/pdaudiocf/pdaudiocf_irq.c | |||
@@ -22,11 +22,12 @@ | |||
22 | #include <sound/core.h> | 22 | #include <sound/core.h> |
23 | #include "pdaudiocf.h" | 23 | #include "pdaudiocf.h" |
24 | #include <sound/initval.h> | 24 | #include <sound/initval.h> |
25 | #include <asm/irq_regs.h> | ||
25 | 26 | ||
26 | /* | 27 | /* |
27 | * | 28 | * |
28 | */ | 29 | */ |
29 | irqreturn_t pdacf_interrupt(int irq, void *dev, struct pt_regs *regs) | 30 | irqreturn_t pdacf_interrupt(int irq, void *dev) |
30 | { | 31 | { |
31 | struct snd_pdacf *chip = dev; | 32 | struct snd_pdacf *chip = dev; |
32 | unsigned short stat; | 33 | unsigned short stat; |
@@ -45,7 +46,7 @@ irqreturn_t pdacf_interrupt(int irq, void *dev, struct pt_regs *regs) | |||
45 | if (!(stat & PDAUDIOCF_IRQAKM)) | 46 | if (!(stat & PDAUDIOCF_IRQAKM)) |
46 | stat |= PDAUDIOCF_IRQAKM; /* check rate */ | 47 | stat |= PDAUDIOCF_IRQAKM; /* check rate */ |
47 | } | 48 | } |
48 | if (regs != NULL) | 49 | if (get_irq_regs() != NULL) |
49 | snd_ak4117_check_rate_and_errors(chip->ak4117, 0); | 50 | snd_ak4117_check_rate_and_errors(chip->ak4117, 0); |
50 | return IRQ_HANDLED; | 51 | return IRQ_HANDLED; |
51 | } | 52 | } |