diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
commit | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (patch) | |
tree | 93824f573767da634fbc82c388b6d33cc454212b /sound/pcmcia/pdaudiocf/pdaudiocf_irq.c | |
parent | c1a26e7d40fb814716950122353a1a556844286b (diff) | |
parent | 7d12e780e003f93433d49ce78cfedf4b4c52adc5 (diff) |
Merge git://git.infradead.org/~dhowells/irq-2.6
* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler function type
IRQ: Typedef the IRQ flow handler function type
Diffstat (limited to 'sound/pcmcia/pdaudiocf/pdaudiocf_irq.c')
-rw-r--r-- | sound/pcmcia/pdaudiocf/pdaudiocf_irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pcmcia/pdaudiocf/pdaudiocf_irq.c b/sound/pcmcia/pdaudiocf/pdaudiocf_irq.c index 7c5f21e45cb4..732263e4a437 100644 --- a/sound/pcmcia/pdaudiocf/pdaudiocf_irq.c +++ b/sound/pcmcia/pdaudiocf/pdaudiocf_irq.c | |||
@@ -26,7 +26,7 @@ | |||
26 | /* | 26 | /* |
27 | * | 27 | * |
28 | */ | 28 | */ |
29 | irqreturn_t pdacf_interrupt(int irq, void *dev, struct pt_regs *regs) | 29 | irqreturn_t pdacf_interrupt(int irq, void *dev) |
30 | { | 30 | { |
31 | struct snd_pdacf *chip = dev; | 31 | struct snd_pdacf *chip = dev; |
32 | unsigned short stat; | 32 | unsigned short stat; |
@@ -45,7 +45,7 @@ irqreturn_t pdacf_interrupt(int irq, void *dev, struct pt_regs *regs) | |||
45 | if (!(stat & PDAUDIOCF_IRQAKM)) | 45 | if (!(stat & PDAUDIOCF_IRQAKM)) |
46 | stat |= PDAUDIOCF_IRQAKM; /* check rate */ | 46 | stat |= PDAUDIOCF_IRQAKM; /* check rate */ |
47 | } | 47 | } |
48 | if (regs != NULL) | 48 | if (get_irq_regs() != NULL) |
49 | snd_ak4117_check_rate_and_errors(chip->ak4117, 0); | 49 | snd_ak4117_check_rate_and_errors(chip->ak4117, 0); |
50 | return IRQ_HANDLED; | 50 | return IRQ_HANDLED; |
51 | } | 51 | } |