diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-07-01 22:29:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-02 16:58:54 -0400 |
commit | 65ca68b30073473583f6ca2f463cbd94ade43ddb (patch) | |
tree | f7d4384450fbdfcb2661a74f3c2f28e53721eeb0 /sound/isa | |
parent | 63a43399db67d6f94364f933f68f38f58387737a (diff) |
[PATCH] irq-flags: sound: Use the new IRQF_ constants
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Jaroslav Kysela <perex@suse.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/isa')
-rw-r--r-- | sound/isa/ad1816a/ad1816a.c | 2 | ||||
-rw-r--r-- | sound/isa/ad1816a/ad1816a_lib.c | 2 | ||||
-rw-r--r-- | sound/isa/ad1848/ad1848_lib.c | 2 | ||||
-rw-r--r-- | sound/isa/als100.c | 2 | ||||
-rw-r--r-- | sound/isa/azt2320.c | 2 | ||||
-rw-r--r-- | sound/isa/cs423x/cs4231.c | 2 | ||||
-rw-r--r-- | sound/isa/cs423x/cs4231_lib.c | 2 | ||||
-rw-r--r-- | sound/isa/cs423x/cs4236.c | 2 | ||||
-rw-r--r-- | sound/isa/dt019x.c | 2 | ||||
-rw-r--r-- | sound/isa/es1688/es1688.c | 2 | ||||
-rw-r--r-- | sound/isa/es1688/es1688_lib.c | 2 | ||||
-rw-r--r-- | sound/isa/es18xx.c | 2 | ||||
-rw-r--r-- | sound/isa/gus/gus_main.c | 2 | ||||
-rw-r--r-- | sound/isa/gus/gusextreme.c | 2 | ||||
-rw-r--r-- | sound/isa/gus/gusmax.c | 2 | ||||
-rw-r--r-- | sound/isa/gus/interwave.c | 2 | ||||
-rw-r--r-- | sound/isa/opl3sa2.c | 2 | ||||
-rw-r--r-- | sound/isa/opti9xx/miro.c | 2 | ||||
-rw-r--r-- | sound/isa/opti9xx/opti92x-ad1848.c | 4 | ||||
-rw-r--r-- | sound/isa/sb/sb_common.c | 2 | ||||
-rw-r--r-- | sound/isa/sgalaxy.c | 2 | ||||
-rw-r--r-- | sound/isa/sscape.c | 2 | ||||
-rw-r--r-- | sound/isa/wavefront/wavefront.c | 4 |
23 files changed, 25 insertions, 25 deletions
diff --git a/sound/isa/ad1816a/ad1816a.c b/sound/isa/ad1816a/ad1816a.c index 31f299aed281..b33a5fb59ec2 100644 --- a/sound/isa/ad1816a/ad1816a.c +++ b/sound/isa/ad1816a/ad1816a.c | |||
@@ -232,7 +232,7 @@ static int __devinit snd_card_ad1816a_probe(int dev, struct pnp_card_link *pcard | |||
232 | 232 | ||
233 | if (mpu_port[dev] > 0) { | 233 | if (mpu_port[dev] > 0) { |
234 | if (snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, | 234 | if (snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, |
235 | mpu_port[dev], 0, mpu_irq[dev], SA_INTERRUPT, | 235 | mpu_port[dev], 0, mpu_irq[dev], IRQF_DISABLED, |
236 | NULL) < 0) | 236 | NULL) < 0) |
237 | printk(KERN_ERR PFX "no MPU-401 device at 0x%lx.\n", mpu_port[dev]); | 237 | printk(KERN_ERR PFX "no MPU-401 device at 0x%lx.\n", mpu_port[dev]); |
238 | } | 238 | } |
diff --git a/sound/isa/ad1816a/ad1816a_lib.c b/sound/isa/ad1816a/ad1816a_lib.c index fd8fe16c09ee..8fcf2c151823 100644 --- a/sound/isa/ad1816a/ad1816a_lib.c +++ b/sound/isa/ad1816a/ad1816a_lib.c | |||
@@ -599,7 +599,7 @@ int __devinit snd_ad1816a_create(struct snd_card *card, | |||
599 | snd_ad1816a_free(chip); | 599 | snd_ad1816a_free(chip); |
600 | return -EBUSY; | 600 | return -EBUSY; |
601 | } | 601 | } |
602 | if (request_irq(irq, snd_ad1816a_interrupt, SA_INTERRUPT, "AD1816A", (void *) chip)) { | 602 | if (request_irq(irq, snd_ad1816a_interrupt, IRQF_DISABLED, "AD1816A", (void *) chip)) { |
603 | snd_printk(KERN_ERR "ad1816a: can't grab IRQ %d\n", irq); | 603 | snd_printk(KERN_ERR "ad1816a: can't grab IRQ %d\n", irq); |
604 | snd_ad1816a_free(chip); | 604 | snd_ad1816a_free(chip); |
605 | return -EBUSY; | 605 | return -EBUSY; |
diff --git a/sound/isa/ad1848/ad1848_lib.c b/sound/isa/ad1848/ad1848_lib.c index e0f8baa843b9..e711f87d5fd1 100644 --- a/sound/isa/ad1848/ad1848_lib.c +++ b/sound/isa/ad1848/ad1848_lib.c | |||
@@ -902,7 +902,7 @@ int snd_ad1848_create(struct snd_card *card, | |||
902 | snd_ad1848_free(chip); | 902 | snd_ad1848_free(chip); |
903 | return -EBUSY; | 903 | return -EBUSY; |
904 | } | 904 | } |
905 | if (request_irq(irq, snd_ad1848_interrupt, SA_INTERRUPT, "AD1848", (void *) chip)) { | 905 | if (request_irq(irq, snd_ad1848_interrupt, IRQF_DISABLED, "AD1848", (void *) chip)) { |
906 | snd_printk(KERN_ERR "ad1848: can't grab IRQ %d\n", irq); | 906 | snd_printk(KERN_ERR "ad1848: can't grab IRQ %d\n", irq); |
907 | snd_ad1848_free(chip); | 907 | snd_ad1848_free(chip); |
908 | return -EBUSY; | 908 | return -EBUSY; |
diff --git a/sound/isa/als100.c b/sound/isa/als100.c index a52bd8a14c9b..f2bcfb2cf5f5 100644 --- a/sound/isa/als100.c +++ b/sound/isa/als100.c | |||
@@ -250,7 +250,7 @@ static int __devinit snd_card_als100_probe(int dev, | |||
250 | if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) { | 250 | if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) { |
251 | if (snd_mpu401_uart_new(card, 0, MPU401_HW_ALS100, | 251 | if (snd_mpu401_uart_new(card, 0, MPU401_HW_ALS100, |
252 | mpu_port[dev], 0, | 252 | mpu_port[dev], 0, |
253 | mpu_irq[dev], SA_INTERRUPT, | 253 | mpu_irq[dev], IRQF_DISABLED, |
254 | NULL) < 0) | 254 | NULL) < 0) |
255 | snd_printk(KERN_ERR PFX "no MPU-401 device at 0x%lx\n", mpu_port[dev]); | 255 | snd_printk(KERN_ERR PFX "no MPU-401 device at 0x%lx\n", mpu_port[dev]); |
256 | } | 256 | } |
diff --git a/sound/isa/azt2320.c b/sound/isa/azt2320.c index 15e59283aac6..b615538a928d 100644 --- a/sound/isa/azt2320.c +++ b/sound/isa/azt2320.c | |||
@@ -279,7 +279,7 @@ static int __devinit snd_card_azt2320_probe(int dev, | |||
279 | if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) { | 279 | if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) { |
280 | if (snd_mpu401_uart_new(card, 0, MPU401_HW_AZT2320, | 280 | if (snd_mpu401_uart_new(card, 0, MPU401_HW_AZT2320, |
281 | mpu_port[dev], 0, | 281 | mpu_port[dev], 0, |
282 | mpu_irq[dev], SA_INTERRUPT, | 282 | mpu_irq[dev], IRQF_DISABLED, |
283 | NULL) < 0) | 283 | NULL) < 0) |
284 | snd_printk(KERN_ERR PFX "no MPU-401 device at 0x%lx\n", mpu_port[dev]); | 284 | snd_printk(KERN_ERR PFX "no MPU-401 device at 0x%lx\n", mpu_port[dev]); |
285 | } | 285 | } |
diff --git a/sound/isa/cs423x/cs4231.c b/sound/isa/cs423x/cs4231.c index 397310f358b7..696a5c86bcfa 100644 --- a/sound/isa/cs423x/cs4231.c +++ b/sound/isa/cs423x/cs4231.c | |||
@@ -122,7 +122,7 @@ static int __init snd_cs4231_probe(struct platform_device *pdev) | |||
122 | if (snd_mpu401_uart_new(card, 0, MPU401_HW_CS4232, | 122 | if (snd_mpu401_uart_new(card, 0, MPU401_HW_CS4232, |
123 | mpu_port[dev], 0, | 123 | mpu_port[dev], 0, |
124 | mpu_irq[dev], | 124 | mpu_irq[dev], |
125 | mpu_irq[dev] >= 0 ? SA_INTERRUPT : 0, | 125 | mpu_irq[dev] >= 0 ? IRQF_DISABLED : 0, |
126 | NULL) < 0) | 126 | NULL) < 0) |
127 | printk(KERN_WARNING "cs4231: MPU401 not detected\n"); | 127 | printk(KERN_WARNING "cs4231: MPU401 not detected\n"); |
128 | } | 128 | } |
diff --git a/sound/isa/cs423x/cs4231_lib.c b/sound/isa/cs423x/cs4231_lib.c index 823db8246701..fbb20176cca4 100644 --- a/sound/isa/cs423x/cs4231_lib.c +++ b/sound/isa/cs423x/cs4231_lib.c | |||
@@ -1454,7 +1454,7 @@ int snd_cs4231_create(struct snd_card *card, | |||
1454 | return -ENODEV; | 1454 | return -ENODEV; |
1455 | } | 1455 | } |
1456 | chip->cport = cport; | 1456 | chip->cport = cport; |
1457 | if (!(hwshare & CS4231_HWSHARE_IRQ) && request_irq(irq, snd_cs4231_interrupt, SA_INTERRUPT, "CS4231", (void *) chip)) { | 1457 | if (!(hwshare & CS4231_HWSHARE_IRQ) && request_irq(irq, snd_cs4231_interrupt, IRQF_DISABLED, "CS4231", (void *) chip)) { |
1458 | snd_printk(KERN_ERR "cs4231: can't grab IRQ %d\n", irq); | 1458 | snd_printk(KERN_ERR "cs4231: can't grab IRQ %d\n", irq); |
1459 | snd_cs4231_free(chip); | 1459 | snd_cs4231_free(chip); |
1460 | return -EBUSY; | 1460 | return -EBUSY; |
diff --git a/sound/isa/cs423x/cs4236.c b/sound/isa/cs423x/cs4236.c index f7fa779347ff..07ffd5c22e81 100644 --- a/sound/isa/cs423x/cs4236.c +++ b/sound/isa/cs423x/cs4236.c | |||
@@ -535,7 +535,7 @@ static int __devinit snd_cs423x_probe(struct snd_card *card, int dev) | |||
535 | if (snd_mpu401_uart_new(card, 0, MPU401_HW_CS4232, | 535 | if (snd_mpu401_uart_new(card, 0, MPU401_HW_CS4232, |
536 | mpu_port[dev], 0, | 536 | mpu_port[dev], 0, |
537 | mpu_irq[dev], | 537 | mpu_irq[dev], |
538 | mpu_irq[dev] >= 0 ? SA_INTERRUPT : 0, NULL) < 0) | 538 | mpu_irq[dev] >= 0 ? IRQF_DISABLED : 0, NULL) < 0) |
539 | printk(KERN_WARNING IDENT ": MPU401 not detected\n"); | 539 | printk(KERN_WARNING IDENT ": MPU401 not detected\n"); |
540 | } | 540 | } |
541 | 541 | ||
diff --git a/sound/isa/dt019x.c b/sound/isa/dt019x.c index 0acb4e5da47f..c20a4b1b1536 100644 --- a/sound/isa/dt019x.c +++ b/sound/isa/dt019x.c | |||
@@ -240,7 +240,7 @@ static int __devinit snd_card_dt019x_probe(int dev, struct pnp_card_link *pcard, | |||
240 | MPU401_HW_MPU401, | 240 | MPU401_HW_MPU401, |
241 | mpu_port[dev], 0, | 241 | mpu_port[dev], 0, |
242 | mpu_irq[dev], | 242 | mpu_irq[dev], |
243 | mpu_irq[dev] >= 0 ? SA_INTERRUPT : 0, | 243 | mpu_irq[dev] >= 0 ? IRQF_DISABLED : 0, |
244 | NULL) < 0) | 244 | NULL) < 0) |
245 | snd_printk(KERN_ERR PFX "no MPU-401 device at 0x%lx ?\n", mpu_port[dev]); | 245 | snd_printk(KERN_ERR PFX "no MPU-401 device at 0x%lx ?\n", mpu_port[dev]); |
246 | } | 246 | } |
diff --git a/sound/isa/es1688/es1688.c b/sound/isa/es1688/es1688.c index e90689ee162f..7f29f56e405b 100644 --- a/sound/isa/es1688/es1688.c +++ b/sound/isa/es1688/es1688.c | |||
@@ -153,7 +153,7 @@ static int __init snd_es1688_probe(struct platform_device *pdev) | |||
153 | if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_ES1688, | 153 | if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_ES1688, |
154 | chip->mpu_port, 0, | 154 | chip->mpu_port, 0, |
155 | xmpu_irq, | 155 | xmpu_irq, |
156 | SA_INTERRUPT, | 156 | IRQF_DISABLED, |
157 | NULL)) < 0) | 157 | NULL)) < 0) |
158 | goto _err; | 158 | goto _err; |
159 | } | 159 | } |
diff --git a/sound/isa/es1688/es1688_lib.c b/sound/isa/es1688/es1688_lib.c index 702ad51ee9d5..7e985d3bc510 100644 --- a/sound/isa/es1688/es1688_lib.c +++ b/sound/isa/es1688/es1688_lib.c | |||
@@ -659,7 +659,7 @@ int snd_es1688_create(struct snd_card *card, | |||
659 | snd_es1688_free(chip); | 659 | snd_es1688_free(chip); |
660 | return -EBUSY; | 660 | return -EBUSY; |
661 | } | 661 | } |
662 | if (request_irq(irq, snd_es1688_interrupt, SA_INTERRUPT, "ES1688", (void *) chip)) { | 662 | if (request_irq(irq, snd_es1688_interrupt, IRQF_DISABLED, "ES1688", (void *) chip)) { |
663 | snd_printk(KERN_ERR "es1688: can't grab IRQ %d\n", irq); | 663 | snd_printk(KERN_ERR "es1688: can't grab IRQ %d\n", irq); |
664 | snd_es1688_free(chip); | 664 | snd_es1688_free(chip); |
665 | return -EBUSY; | 665 | return -EBUSY; |
diff --git a/sound/isa/es18xx.c b/sound/isa/es18xx.c index af60b0bc8115..34998de9968c 100644 --- a/sound/isa/es18xx.c +++ b/sound/isa/es18xx.c | |||
@@ -1837,7 +1837,7 @@ static int __devinit snd_es18xx_new_device(struct snd_card *card, | |||
1837 | return -EBUSY; | 1837 | return -EBUSY; |
1838 | } | 1838 | } |
1839 | 1839 | ||
1840 | if (request_irq(irq, snd_es18xx_interrupt, SA_INTERRUPT, "ES18xx", (void *) chip)) { | 1840 | if (request_irq(irq, snd_es18xx_interrupt, IRQF_DISABLED, "ES18xx", (void *) chip)) { |
1841 | snd_es18xx_free(chip); | 1841 | snd_es18xx_free(chip); |
1842 | snd_printk(KERN_ERR PFX "unable to grap IRQ %d\n", irq); | 1842 | snd_printk(KERN_ERR PFX "unable to grap IRQ %d\n", irq); |
1843 | return -EBUSY; | 1843 | return -EBUSY; |
diff --git a/sound/isa/gus/gus_main.c b/sound/isa/gus/gus_main.c index 53eeaf37007d..b680fddf0d74 100644 --- a/sound/isa/gus/gus_main.c +++ b/sound/isa/gus/gus_main.c | |||
@@ -179,7 +179,7 @@ int snd_gus_create(struct snd_card *card, | |||
179 | snd_gus_free(gus); | 179 | snd_gus_free(gus); |
180 | return -EBUSY; | 180 | return -EBUSY; |
181 | } | 181 | } |
182 | if (irq >= 0 && request_irq(irq, snd_gus_interrupt, SA_INTERRUPT, "GUS GF1", (void *) gus)) { | 182 | if (irq >= 0 && request_irq(irq, snd_gus_interrupt, IRQF_DISABLED, "GUS GF1", (void *) gus)) { |
183 | snd_printk(KERN_ERR "gus: can't grab irq %d\n", irq); | 183 | snd_printk(KERN_ERR "gus: can't grab irq %d\n", irq); |
184 | snd_gus_free(gus); | 184 | snd_gus_free(gus); |
185 | return -EBUSY; | 185 | return -EBUSY; |
diff --git a/sound/isa/gus/gusextreme.c b/sound/isa/gus/gusextreme.c index 05852fcc613b..22cdddbfd824 100644 --- a/sound/isa/gus/gusextreme.c +++ b/sound/isa/gus/gusextreme.c | |||
@@ -301,7 +301,7 @@ static int __init snd_gusextreme_probe(struct platform_device *pdev) | |||
301 | (err = snd_mpu401_uart_new(card, 0, MPU401_HW_ES1688, | 301 | (err = snd_mpu401_uart_new(card, 0, MPU401_HW_ES1688, |
302 | es1688->mpu_port, 0, | 302 | es1688->mpu_port, 0, |
303 | xmpu_irq, | 303 | xmpu_irq, |
304 | SA_INTERRUPT, | 304 | IRQF_DISABLED, |
305 | NULL)) < 0) | 305 | NULL)) < 0) |
306 | goto out; | 306 | goto out; |
307 | 307 | ||
diff --git a/sound/isa/gus/gusmax.c b/sound/isa/gus/gusmax.c index fcf2c8fe6f94..ac11cae8589a 100644 --- a/sound/isa/gus/gusmax.c +++ b/sound/isa/gus/gusmax.c | |||
@@ -292,7 +292,7 @@ static int __init snd_gusmax_probe(struct platform_device *pdev) | |||
292 | goto _err; | 292 | goto _err; |
293 | } | 293 | } |
294 | 294 | ||
295 | if (request_irq(xirq, snd_gusmax_interrupt, SA_INTERRUPT, "GUS MAX", (void *)maxcard)) { | 295 | if (request_irq(xirq, snd_gusmax_interrupt, IRQF_DISABLED, "GUS MAX", (void *)maxcard)) { |
296 | snd_printk(KERN_ERR PFX "unable to grab IRQ %d\n", xirq); | 296 | snd_printk(KERN_ERR PFX "unable to grab IRQ %d\n", xirq); |
297 | err = -EBUSY; | 297 | err = -EBUSY; |
298 | goto _err; | 298 | goto _err; |
diff --git a/sound/isa/gus/interwave.c b/sound/isa/gus/interwave.c index c1c86e0fa56d..ea69f25506fb 100644 --- a/sound/isa/gus/interwave.c +++ b/sound/isa/gus/interwave.c | |||
@@ -706,7 +706,7 @@ static int __devinit snd_interwave_probe(struct snd_card *card, int dev) | |||
706 | if ((err = snd_gus_initialize(gus)) < 0) | 706 | if ((err = snd_gus_initialize(gus)) < 0) |
707 | return err; | 707 | return err; |
708 | 708 | ||
709 | if (request_irq(xirq, snd_interwave_interrupt, SA_INTERRUPT, | 709 | if (request_irq(xirq, snd_interwave_interrupt, IRQF_DISABLED, |
710 | "InterWave", iwcard)) { | 710 | "InterWave", iwcard)) { |
711 | snd_printk(KERN_ERR PFX "unable to grab IRQ %d\n", xirq); | 711 | snd_printk(KERN_ERR PFX "unable to grab IRQ %d\n", xirq); |
712 | return -EBUSY; | 712 | return -EBUSY; |
diff --git a/sound/isa/opl3sa2.c b/sound/isa/opl3sa2.c index 647a996791e9..4031b61b797f 100644 --- a/sound/isa/opl3sa2.c +++ b/sound/isa/opl3sa2.c | |||
@@ -683,7 +683,7 @@ static int __devinit snd_opl3sa2_probe(struct snd_card *card, int dev) | |||
683 | chip->single_dma = 1; | 683 | chip->single_dma = 1; |
684 | if ((err = snd_opl3sa2_detect(chip)) < 0) | 684 | if ((err = snd_opl3sa2_detect(chip)) < 0) |
685 | return err; | 685 | return err; |
686 | if (request_irq(xirq, snd_opl3sa2_interrupt, SA_INTERRUPT, "OPL3-SA2", chip)) { | 686 | if (request_irq(xirq, snd_opl3sa2_interrupt, IRQF_DISABLED, "OPL3-SA2", chip)) { |
687 | snd_printk(KERN_ERR PFX "can't grab IRQ %d\n", xirq); | 687 | snd_printk(KERN_ERR PFX "can't grab IRQ %d\n", xirq); |
688 | return -ENODEV; | 688 | return -ENODEV; |
689 | } | 689 | } |
diff --git a/sound/isa/opti9xx/miro.c b/sound/isa/opti9xx/miro.c index 283817f2de75..1dd98375ac85 100644 --- a/sound/isa/opti9xx/miro.c +++ b/sound/isa/opti9xx/miro.c | |||
@@ -1382,7 +1382,7 @@ static int __init snd_miro_probe(struct platform_device *devptr) | |||
1382 | rmidi = NULL; | 1382 | rmidi = NULL; |
1383 | else | 1383 | else |
1384 | if ((error = snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, | 1384 | if ((error = snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, |
1385 | miro->mpu_port, 0, miro->mpu_irq, SA_INTERRUPT, | 1385 | miro->mpu_port, 0, miro->mpu_irq, IRQF_DISABLED, |
1386 | &rmidi))) | 1386 | &rmidi))) |
1387 | snd_printk(KERN_WARNING "no MPU-401 device at 0x%lx?\n", miro->mpu_port); | 1387 | snd_printk(KERN_WARNING "no MPU-401 device at 0x%lx?\n", miro->mpu_port); |
1388 | 1388 | ||
diff --git a/sound/isa/opti9xx/opti92x-ad1848.c b/sound/isa/opti9xx/opti92x-ad1848.c index 8ee0d70536f9..9d528ae00bff 100644 --- a/sound/isa/opti9xx/opti92x-ad1848.c +++ b/sound/isa/opti9xx/opti92x-ad1848.c | |||
@@ -1291,7 +1291,7 @@ static int snd_opti93x_create(struct snd_card *card, struct snd_opti9xx *chip, | |||
1291 | } | 1291 | } |
1292 | codec->dma2 = chip->dma2; | 1292 | codec->dma2 = chip->dma2; |
1293 | 1293 | ||
1294 | if (request_irq(chip->irq, snd_opti93x_interrupt, SA_INTERRUPT, DRIVER_NAME" - WSS", codec)) { | 1294 | if (request_irq(chip->irq, snd_opti93x_interrupt, IRQF_DISABLED, DRIVER_NAME" - WSS", codec)) { |
1295 | snd_printk(KERN_ERR "opti9xx: can't grab IRQ %d\n", chip->irq); | 1295 | snd_printk(KERN_ERR "opti9xx: can't grab IRQ %d\n", chip->irq); |
1296 | snd_opti93x_free(codec); | 1296 | snd_opti93x_free(codec); |
1297 | return -EBUSY; | 1297 | return -EBUSY; |
@@ -1863,7 +1863,7 @@ static int __init snd_opti9xx_probe(struct snd_card *card) | |||
1863 | rmidi = NULL; | 1863 | rmidi = NULL; |
1864 | else | 1864 | else |
1865 | if ((error = snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, | 1865 | if ((error = snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, |
1866 | chip->mpu_port, 0, chip->mpu_irq, SA_INTERRUPT, | 1866 | chip->mpu_port, 0, chip->mpu_irq, IRQF_DISABLED, |
1867 | &rmidi))) | 1867 | &rmidi))) |
1868 | snd_printk(KERN_WARNING "no MPU-401 device at 0x%lx?\n", | 1868 | snd_printk(KERN_WARNING "no MPU-401 device at 0x%lx?\n", |
1869 | chip->mpu_port); | 1869 | chip->mpu_port); |
diff --git a/sound/isa/sb/sb_common.c b/sound/isa/sb/sb_common.c index f343a8211d2d..f17de2bdd9e0 100644 --- a/sound/isa/sb/sb_common.c +++ b/sound/isa/sb/sb_common.c | |||
@@ -232,7 +232,7 @@ int snd_sbdsp_create(struct snd_card *card, | |||
232 | chip->port = port; | 232 | chip->port = port; |
233 | 233 | ||
234 | if (request_irq(irq, irq_handler, hardware == SB_HW_ALS4000 ? | 234 | if (request_irq(irq, irq_handler, hardware == SB_HW_ALS4000 ? |
235 | SA_INTERRUPT | SA_SHIRQ : SA_INTERRUPT, | 235 | IRQF_DISABLED | IRQF_SHARED : IRQF_DISABLED, |
236 | "SoundBlaster", (void *) chip)) { | 236 | "SoundBlaster", (void *) chip)) { |
237 | snd_printk(KERN_ERR "sb: can't grab irq %d\n", irq); | 237 | snd_printk(KERN_ERR "sb: can't grab irq %d\n", irq); |
238 | snd_sbdsp_free(chip); | 238 | snd_sbdsp_free(chip); |
diff --git a/sound/isa/sgalaxy.c b/sound/isa/sgalaxy.c index 09c8e8c6b5e3..8742fa517491 100644 --- a/sound/isa/sgalaxy.c +++ b/sound/isa/sgalaxy.c | |||
@@ -147,7 +147,7 @@ static int __init snd_sgalaxy_setup_wss(unsigned long port, int irq, int dma) | |||
147 | if (tmp < 0) | 147 | if (tmp < 0) |
148 | return -EINVAL; | 148 | return -EINVAL; |
149 | 149 | ||
150 | if (request_irq(irq, snd_sgalaxy_dummy_interrupt, SA_INTERRUPT, "sgalaxy", NULL)) { | 150 | if (request_irq(irq, snd_sgalaxy_dummy_interrupt, IRQF_DISABLED, "sgalaxy", NULL)) { |
151 | snd_printk(KERN_ERR "sgalaxy: can't grab irq %d\n", irq); | 151 | snd_printk(KERN_ERR "sgalaxy: can't grab irq %d\n", irq); |
152 | return -EIO; | 152 | return -EIO; |
153 | } | 153 | } |
diff --git a/sound/isa/sscape.c b/sound/isa/sscape.c index 27271c9446dc..b1f25823c652 100644 --- a/sound/isa/sscape.c +++ b/sound/isa/sscape.c | |||
@@ -900,7 +900,7 @@ static int __devinit create_mpu401(struct snd_card *card, int devnum, unsigned l | |||
900 | if ((err = snd_mpu401_uart_new(card, devnum, | 900 | if ((err = snd_mpu401_uart_new(card, devnum, |
901 | MPU401_HW_MPU401, | 901 | MPU401_HW_MPU401, |
902 | port, MPU401_INFO_INTEGRATED, | 902 | port, MPU401_INFO_INTEGRATED, |
903 | irq, SA_INTERRUPT, | 903 | irq, IRQF_DISABLED, |
904 | &rawmidi)) == 0) { | 904 | &rawmidi)) == 0) { |
905 | struct snd_mpu401 *mpu = (struct snd_mpu401 *) rawmidi->private_data; | 905 | struct snd_mpu401 *mpu = (struct snd_mpu401 *) rawmidi->private_data; |
906 | mpu->open_input = mpu401_open; | 906 | mpu->open_input = mpu401_open; |
diff --git a/sound/isa/wavefront/wavefront.c b/sound/isa/wavefront/wavefront.c index 9eb27082c659..a8f8d2fa9d76 100644 --- a/sound/isa/wavefront/wavefront.c +++ b/sound/isa/wavefront/wavefront.c | |||
@@ -467,7 +467,7 @@ snd_wavefront_probe (struct snd_card *card, int dev) | |||
467 | return -EBUSY; | 467 | return -EBUSY; |
468 | } | 468 | } |
469 | if (request_irq(ics2115_irq[dev], snd_wavefront_ics2115_interrupt, | 469 | if (request_irq(ics2115_irq[dev], snd_wavefront_ics2115_interrupt, |
470 | SA_INTERRUPT, "ICS2115", acard)) { | 470 | IRQF_DISABLED, "ICS2115", acard)) { |
471 | snd_printk(KERN_ERR "unable to use ICS2115 IRQ %d\n", ics2115_irq[dev]); | 471 | snd_printk(KERN_ERR "unable to use ICS2115 IRQ %d\n", ics2115_irq[dev]); |
472 | return -EBUSY; | 472 | return -EBUSY; |
473 | } | 473 | } |
@@ -497,7 +497,7 @@ snd_wavefront_probe (struct snd_card *card, int dev) | |||
497 | if ((err = snd_mpu401_uart_new(card, midi_dev, MPU401_HW_CS4232, | 497 | if ((err = snd_mpu401_uart_new(card, midi_dev, MPU401_HW_CS4232, |
498 | cs4232_mpu_port[dev], 0, | 498 | cs4232_mpu_port[dev], 0, |
499 | cs4232_mpu_irq[dev], | 499 | cs4232_mpu_irq[dev], |
500 | SA_INTERRUPT, | 500 | IRQF_DISABLED, |
501 | NULL)) < 0) { | 501 | NULL)) < 0) { |
502 | snd_printk (KERN_ERR "can't allocate CS4232 MPU-401 device\n"); | 502 | snd_printk (KERN_ERR "can't allocate CS4232 MPU-401 device\n"); |
503 | return err; | 503 | return err; |