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/pci | |
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/pci')
42 files changed, 44 insertions, 44 deletions
diff --git a/sound/pci/ad1889.c b/sound/pci/ad1889.c index d42bf4570367..f7aef8c9cf43 100644 --- a/sound/pci/ad1889.c +++ b/sound/pci/ad1889.c | |||
@@ -947,7 +947,7 @@ snd_ad1889_create(struct snd_card *card, | |||
947 | spin_lock_init(&chip->lock); /* only now can we call ad1889_free */ | 947 | spin_lock_init(&chip->lock); /* only now can we call ad1889_free */ |
948 | 948 | ||
949 | if (request_irq(pci->irq, snd_ad1889_interrupt, | 949 | if (request_irq(pci->irq, snd_ad1889_interrupt, |
950 | SA_INTERRUPT|SA_SHIRQ, card->driver, (void*)chip)) { | 950 | IRQF_DISABLED|IRQF_SHARED, card->driver, (void*)chip)) { |
951 | printk(KERN_ERR PFX "cannot obtain IRQ %d\n", pci->irq); | 951 | printk(KERN_ERR PFX "cannot obtain IRQ %d\n", pci->irq); |
952 | snd_ad1889_free(chip); | 952 | snd_ad1889_free(chip); |
953 | return -EBUSY; | 953 | return -EBUSY; |
diff --git a/sound/pci/ali5451/ali5451.c b/sound/pci/ali5451/ali5451.c index 5dfdbf6657f2..e0a815e53d1c 100644 --- a/sound/pci/ali5451/ali5451.c +++ b/sound/pci/ali5451/ali5451.c | |||
@@ -2185,7 +2185,7 @@ static int __devinit snd_ali_resources(struct snd_ali *codec) | |||
2185 | return err; | 2185 | return err; |
2186 | codec->port = pci_resource_start(codec->pci, 0); | 2186 | codec->port = pci_resource_start(codec->pci, 0); |
2187 | 2187 | ||
2188 | if (request_irq(codec->pci->irq, snd_ali_card_interrupt, SA_INTERRUPT|SA_SHIRQ, "ALI 5451", (void *)codec)) { | 2188 | if (request_irq(codec->pci->irq, snd_ali_card_interrupt, IRQF_DISABLED|IRQF_SHARED, "ALI 5451", (void *)codec)) { |
2189 | snd_printk(KERN_ERR "Unable to request irq.\n"); | 2189 | snd_printk(KERN_ERR "Unable to request irq.\n"); |
2190 | return -EBUSY; | 2190 | return -EBUSY; |
2191 | } | 2191 | } |
diff --git a/sound/pci/als300.c b/sound/pci/als300.c index 901b08ae9174..a9c38963188a 100644 --- a/sound/pci/als300.c +++ b/sound/pci/als300.c | |||
@@ -724,7 +724,7 @@ static int __devinit snd_als300_create(snd_card_t *card, | |||
724 | else | 724 | else |
725 | irq_handler = snd_als300_interrupt; | 725 | irq_handler = snd_als300_interrupt; |
726 | 726 | ||
727 | if (request_irq(pci->irq, irq_handler, SA_INTERRUPT|SA_SHIRQ, | 727 | if (request_irq(pci->irq, irq_handler, IRQF_DISABLED|IRQF_SHARED, |
728 | card->shortname, (void *)chip)) { | 728 | card->shortname, (void *)chip)) { |
729 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 729 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
730 | snd_als300_free(chip); | 730 | snd_als300_free(chip); |
diff --git a/sound/pci/atiixp.c b/sound/pci/atiixp.c index f18a8c0e4688..9fbb065a810b 100644 --- a/sound/pci/atiixp.c +++ b/sound/pci/atiixp.c | |||
@@ -1578,7 +1578,7 @@ static int __devinit snd_atiixp_create(struct snd_card *card, | |||
1578 | return -EIO; | 1578 | return -EIO; |
1579 | } | 1579 | } |
1580 | 1580 | ||
1581 | if (request_irq(pci->irq, snd_atiixp_interrupt, SA_INTERRUPT|SA_SHIRQ, | 1581 | if (request_irq(pci->irq, snd_atiixp_interrupt, IRQF_DISABLED|IRQF_SHARED, |
1582 | card->shortname, chip)) { | 1582 | card->shortname, chip)) { |
1583 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 1583 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
1584 | snd_atiixp_free(chip); | 1584 | snd_atiixp_free(chip); |
diff --git a/sound/pci/atiixp_modem.c b/sound/pci/atiixp_modem.c index 40739057076b..7dcf4941dce2 100644 --- a/sound/pci/atiixp_modem.c +++ b/sound/pci/atiixp_modem.c | |||
@@ -1251,7 +1251,7 @@ static int __devinit snd_atiixp_create(struct snd_card *card, | |||
1251 | return -EIO; | 1251 | return -EIO; |
1252 | } | 1252 | } |
1253 | 1253 | ||
1254 | if (request_irq(pci->irq, snd_atiixp_interrupt, SA_INTERRUPT|SA_SHIRQ, | 1254 | if (request_irq(pci->irq, snd_atiixp_interrupt, IRQF_DISABLED|IRQF_SHARED, |
1255 | card->shortname, chip)) { | 1255 | card->shortname, chip)) { |
1256 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 1256 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
1257 | snd_atiixp_free(chip); | 1257 | snd_atiixp_free(chip); |
diff --git a/sound/pci/au88x0/au88x0.c b/sound/pci/au88x0/au88x0.c index 8a3b118989bf..ef189d7f09d3 100644 --- a/sound/pci/au88x0/au88x0.c +++ b/sound/pci/au88x0/au88x0.c | |||
@@ -197,7 +197,7 @@ snd_vortex_create(struct snd_card *card, struct pci_dev *pci, vortex_t ** rchip) | |||
197 | } | 197 | } |
198 | 198 | ||
199 | if ((err = request_irq(pci->irq, vortex_interrupt, | 199 | if ((err = request_irq(pci->irq, vortex_interrupt, |
200 | SA_INTERRUPT | SA_SHIRQ, CARD_NAME_SHORT, | 200 | IRQF_DISABLED | IRQF_SHARED, CARD_NAME_SHORT, |
201 | chip)) != 0) { | 201 | chip)) != 0) { |
202 | printk(KERN_ERR "cannot grab irq\n"); | 202 | printk(KERN_ERR "cannot grab irq\n"); |
203 | goto irq_out; | 203 | goto irq_out; |
diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c index 6e62dafb66cd..15447a3216dd 100644 --- a/sound/pci/azt3328.c +++ b/sound/pci/azt3328.c | |||
@@ -1724,7 +1724,7 @@ snd_azf3328_create(struct snd_card *card, | |||
1724 | chip->synth_port = pci_resource_start(pci, 3); | 1724 | chip->synth_port = pci_resource_start(pci, 3); |
1725 | chip->mixer_port = pci_resource_start(pci, 4); | 1725 | chip->mixer_port = pci_resource_start(pci, 4); |
1726 | 1726 | ||
1727 | if (request_irq(pci->irq, snd_azf3328_interrupt, SA_INTERRUPT|SA_SHIRQ, card->shortname, (void *)chip)) { | 1727 | if (request_irq(pci->irq, snd_azf3328_interrupt, IRQF_DISABLED|IRQF_SHARED, card->shortname, (void *)chip)) { |
1728 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 1728 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
1729 | err = -EBUSY; | 1729 | err = -EBUSY; |
1730 | goto out_err; | 1730 | goto out_err; |
diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c index 497ed6b20060..4d4277d045aa 100644 --- a/sound/pci/bt87x.c +++ b/sound/pci/bt87x.c | |||
@@ -747,7 +747,7 @@ static int __devinit snd_bt87x_create(struct snd_card *card, | |||
747 | snd_bt87x_writel(chip, REG_INT_MASK, 0); | 747 | snd_bt87x_writel(chip, REG_INT_MASK, 0); |
748 | snd_bt87x_writel(chip, REG_INT_STAT, MY_INTERRUPTS); | 748 | snd_bt87x_writel(chip, REG_INT_STAT, MY_INTERRUPTS); |
749 | 749 | ||
750 | if (request_irq(pci->irq, snd_bt87x_interrupt, SA_INTERRUPT | SA_SHIRQ, | 750 | if (request_irq(pci->irq, snd_bt87x_interrupt, IRQF_DISABLED | IRQF_SHARED, |
751 | "Bt87x audio", chip)) { | 751 | "Bt87x audio", chip)) { |
752 | snd_bt87x_free(chip); | 752 | snd_bt87x_free(chip); |
753 | snd_printk(KERN_ERR "cannot grab irq\n"); | 753 | snd_printk(KERN_ERR "cannot grab irq\n"); |
diff --git a/sound/pci/ca0106/ca0106_main.c b/sound/pci/ca0106/ca0106_main.c index 59bf9bd02534..a30c019bab64 100644 --- a/sound/pci/ca0106/ca0106_main.c +++ b/sound/pci/ca0106/ca0106_main.c | |||
@@ -1268,7 +1268,7 @@ static int __devinit snd_ca0106_create(struct snd_card *card, | |||
1268 | } | 1268 | } |
1269 | 1269 | ||
1270 | if (request_irq(pci->irq, snd_ca0106_interrupt, | 1270 | if (request_irq(pci->irq, snd_ca0106_interrupt, |
1271 | SA_INTERRUPT|SA_SHIRQ, "snd_ca0106", | 1271 | IRQF_DISABLED|IRQF_SHARED, "snd_ca0106", |
1272 | (void *)chip)) { | 1272 | (void *)chip)) { |
1273 | snd_ca0106_free(chip); | 1273 | snd_ca0106_free(chip); |
1274 | printk(KERN_ERR "cannot grab irq\n"); | 1274 | printk(KERN_ERR "cannot grab irq\n"); |
diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c index 0938c158b5c9..03766ad74998 100644 --- a/sound/pci/cmipci.c +++ b/sound/pci/cmipci.c | |||
@@ -2862,7 +2862,7 @@ static int __devinit snd_cmipci_create(struct snd_card *card, struct pci_dev *pc | |||
2862 | cm->iobase = pci_resource_start(pci, 0); | 2862 | cm->iobase = pci_resource_start(pci, 0); |
2863 | 2863 | ||
2864 | if (request_irq(pci->irq, snd_cmipci_interrupt, | 2864 | if (request_irq(pci->irq, snd_cmipci_interrupt, |
2865 | SA_INTERRUPT|SA_SHIRQ, card->driver, cm)) { | 2865 | IRQF_DISABLED|IRQF_SHARED, card->driver, cm)) { |
2866 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 2866 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
2867 | snd_cmipci_free(cm); | 2867 | snd_cmipci_free(cm); |
2868 | return -EBUSY; | 2868 | return -EBUSY; |
diff --git a/sound/pci/cs4281.c b/sound/pci/cs4281.c index e77a4ce314b7..d1802487f5be 100644 --- a/sound/pci/cs4281.c +++ b/sound/pci/cs4281.c | |||
@@ -1386,7 +1386,7 @@ static int __devinit snd_cs4281_create(struct snd_card *card, | |||
1386 | return -ENOMEM; | 1386 | return -ENOMEM; |
1387 | } | 1387 | } |
1388 | 1388 | ||
1389 | if (request_irq(pci->irq, snd_cs4281_interrupt, SA_INTERRUPT|SA_SHIRQ, | 1389 | if (request_irq(pci->irq, snd_cs4281_interrupt, IRQF_DISABLED|IRQF_SHARED, |
1390 | "CS4281", chip)) { | 1390 | "CS4281", chip)) { |
1391 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 1391 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
1392 | snd_cs4281_free(chip); | 1392 | snd_cs4281_free(chip); |
diff --git a/sound/pci/cs46xx/cs46xx_lib.c b/sound/pci/cs46xx/cs46xx_lib.c index 5c2114439204..894545ea41fd 100644 --- a/sound/pci/cs46xx/cs46xx_lib.c +++ b/sound/pci/cs46xx/cs46xx_lib.c | |||
@@ -3853,7 +3853,7 @@ int __devinit snd_cs46xx_create(struct snd_card *card, | |||
3853 | } | 3853 | } |
3854 | } | 3854 | } |
3855 | 3855 | ||
3856 | if (request_irq(pci->irq, snd_cs46xx_interrupt, SA_INTERRUPT|SA_SHIRQ, | 3856 | if (request_irq(pci->irq, snd_cs46xx_interrupt, IRQF_DISABLED|IRQF_SHARED, |
3857 | "CS46XX", chip)) { | 3857 | "CS46XX", chip)) { |
3858 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 3858 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
3859 | snd_cs46xx_free(chip); | 3859 | snd_cs46xx_free(chip); |
diff --git a/sound/pci/cs5535audio/cs5535audio.c b/sound/pci/cs5535audio/cs5535audio.c index 91c18a11fe87..c12b24c679f2 100644 --- a/sound/pci/cs5535audio/cs5535audio.c +++ b/sound/pci/cs5535audio/cs5535audio.c | |||
@@ -321,7 +321,7 @@ static int __devinit snd_cs5535audio_create(struct snd_card *card, | |||
321 | cs5535au->port = pci_resource_start(pci, 0); | 321 | cs5535au->port = pci_resource_start(pci, 0); |
322 | 322 | ||
323 | if (request_irq(pci->irq, snd_cs5535audio_interrupt, | 323 | if (request_irq(pci->irq, snd_cs5535audio_interrupt, |
324 | SA_INTERRUPT|SA_SHIRQ, "CS5535 Audio", cs5535au)) { | 324 | IRQF_DISABLED|IRQF_SHARED, "CS5535 Audio", cs5535au)) { |
325 | snd_printk("unable to grab IRQ %d\n", pci->irq); | 325 | snd_printk("unable to grab IRQ %d\n", pci->irq); |
326 | err = -EBUSY; | 326 | err = -EBUSY; |
327 | goto sndfail; | 327 | goto sndfail; |
diff --git a/sound/pci/echoaudio/echoaudio.c b/sound/pci/echoaudio/echoaudio.c index 43b408ada1da..27a8dbe6f6a8 100644 --- a/sound/pci/echoaudio/echoaudio.c +++ b/sound/pci/echoaudio/echoaudio.c | |||
@@ -1951,7 +1951,7 @@ static __devinit int snd_echo_create(struct snd_card *card, | |||
1951 | chip->dsp_registers = (volatile u32 __iomem *) | 1951 | chip->dsp_registers = (volatile u32 __iomem *) |
1952 | ioremap_nocache(chip->dsp_registers_phys, sz); | 1952 | ioremap_nocache(chip->dsp_registers_phys, sz); |
1953 | 1953 | ||
1954 | if (request_irq(pci->irq, snd_echo_interrupt, SA_INTERRUPT | SA_SHIRQ, | 1954 | if (request_irq(pci->irq, snd_echo_interrupt, IRQF_DISABLED | IRQF_SHARED, |
1955 | ECHOCARD_NAME, (void *)chip)) { | 1955 | ECHOCARD_NAME, (void *)chip)) { |
1956 | snd_echo_free(chip); | 1956 | snd_echo_free(chip); |
1957 | snd_printk(KERN_ERR "cannot grab irq\n"); | 1957 | snd_printk(KERN_ERR "cannot grab irq\n"); |
diff --git a/sound/pci/emu10k1/emu10k1_main.c b/sound/pci/emu10k1/emu10k1_main.c index 42a358f989c3..d6f135fe2958 100644 --- a/sound/pci/emu10k1/emu10k1_main.c +++ b/sound/pci/emu10k1/emu10k1_main.c | |||
@@ -1233,7 +1233,7 @@ int __devinit snd_emu10k1_create(struct snd_card *card, | |||
1233 | } | 1233 | } |
1234 | emu->port = pci_resource_start(pci, 0); | 1234 | emu->port = pci_resource_start(pci, 0); |
1235 | 1235 | ||
1236 | if (request_irq(pci->irq, snd_emu10k1_interrupt, SA_INTERRUPT|SA_SHIRQ, "EMU10K1", (void *)emu)) { | 1236 | if (request_irq(pci->irq, snd_emu10k1_interrupt, IRQF_DISABLED|IRQF_SHARED, "EMU10K1", (void *)emu)) { |
1237 | err = -EBUSY; | 1237 | err = -EBUSY; |
1238 | goto error; | 1238 | goto error; |
1239 | } | 1239 | } |
diff --git a/sound/pci/emu10k1/emu10k1x.c b/sound/pci/emu10k1/emu10k1x.c index 0fb27e4be07b..2167279429b8 100644 --- a/sound/pci/emu10k1/emu10k1x.c +++ b/sound/pci/emu10k1/emu10k1x.c | |||
@@ -928,7 +928,7 @@ static int __devinit snd_emu10k1x_create(struct snd_card *card, | |||
928 | } | 928 | } |
929 | 929 | ||
930 | if (request_irq(pci->irq, snd_emu10k1x_interrupt, | 930 | if (request_irq(pci->irq, snd_emu10k1x_interrupt, |
931 | SA_INTERRUPT|SA_SHIRQ, "EMU10K1X", | 931 | IRQF_DISABLED|IRQF_SHARED, "EMU10K1X", |
932 | (void *)chip)) { | 932 | (void *)chip)) { |
933 | snd_printk(KERN_ERR "emu10k1x: cannot grab irq %d\n", pci->irq); | 933 | snd_printk(KERN_ERR "emu10k1x: cannot grab irq %d\n", pci->irq); |
934 | snd_emu10k1x_free(chip); | 934 | snd_emu10k1x_free(chip); |
diff --git a/sound/pci/ens1370.c b/sound/pci/ens1370.c index 9d46bbee2a40..7a985c868007 100644 --- a/sound/pci/ens1370.c +++ b/sound/pci/ens1370.c | |||
@@ -2135,7 +2135,7 @@ static int __devinit snd_ensoniq_create(struct snd_card *card, | |||
2135 | return err; | 2135 | return err; |
2136 | } | 2136 | } |
2137 | ensoniq->port = pci_resource_start(pci, 0); | 2137 | ensoniq->port = pci_resource_start(pci, 0); |
2138 | if (request_irq(pci->irq, snd_audiopci_interrupt, SA_INTERRUPT|SA_SHIRQ, | 2138 | if (request_irq(pci->irq, snd_audiopci_interrupt, IRQF_DISABLED|IRQF_SHARED, |
2139 | "Ensoniq AudioPCI", ensoniq)) { | 2139 | "Ensoniq AudioPCI", ensoniq)) { |
2140 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 2140 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
2141 | snd_ensoniq_free(ensoniq); | 2141 | snd_ensoniq_free(ensoniq); |
diff --git a/sound/pci/es1938.c b/sound/pci/es1938.c index ca6603fe0b11..1113b10259cf 100644 --- a/sound/pci/es1938.c +++ b/sound/pci/es1938.c | |||
@@ -1429,7 +1429,7 @@ static int es1938_resume(struct pci_dev *pci) | |||
1429 | pci_restore_state(pci); | 1429 | pci_restore_state(pci); |
1430 | pci_enable_device(pci); | 1430 | pci_enable_device(pci); |
1431 | request_irq(pci->irq, snd_es1938_interrupt, | 1431 | request_irq(pci->irq, snd_es1938_interrupt, |
1432 | SA_INTERRUPT|SA_SHIRQ, "ES1938", chip); | 1432 | IRQF_DISABLED|IRQF_SHARED, "ES1938", chip); |
1433 | chip->irq = pci->irq; | 1433 | chip->irq = pci->irq; |
1434 | snd_es1938_chip_init(chip); | 1434 | snd_es1938_chip_init(chip); |
1435 | 1435 | ||
@@ -1544,7 +1544,7 @@ static int __devinit snd_es1938_create(struct snd_card *card, | |||
1544 | chip->vc_port = pci_resource_start(pci, 2); | 1544 | chip->vc_port = pci_resource_start(pci, 2); |
1545 | chip->mpu_port = pci_resource_start(pci, 3); | 1545 | chip->mpu_port = pci_resource_start(pci, 3); |
1546 | chip->game_port = pci_resource_start(pci, 4); | 1546 | chip->game_port = pci_resource_start(pci, 4); |
1547 | if (request_irq(pci->irq, snd_es1938_interrupt, SA_INTERRUPT|SA_SHIRQ, | 1547 | if (request_irq(pci->irq, snd_es1938_interrupt, IRQF_DISABLED|IRQF_SHARED, |
1548 | "ES1938", chip)) { | 1548 | "ES1938", chip)) { |
1549 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 1549 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
1550 | snd_es1938_free(chip); | 1550 | snd_es1938_free(chip); |
diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c index bfa0876e715e..a491c8f8a6a8 100644 --- a/sound/pci/es1968.c +++ b/sound/pci/es1968.c | |||
@@ -2597,7 +2597,7 @@ static int __devinit snd_es1968_create(struct snd_card *card, | |||
2597 | return err; | 2597 | return err; |
2598 | } | 2598 | } |
2599 | chip->io_port = pci_resource_start(pci, 0); | 2599 | chip->io_port = pci_resource_start(pci, 0); |
2600 | if (request_irq(pci->irq, snd_es1968_interrupt, SA_INTERRUPT|SA_SHIRQ, | 2600 | if (request_irq(pci->irq, snd_es1968_interrupt, IRQF_DISABLED|IRQF_SHARED, |
2601 | "ESS Maestro", (void*)chip)) { | 2601 | "ESS Maestro", (void*)chip)) { |
2602 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 2602 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
2603 | snd_es1968_free(chip); | 2603 | snd_es1968_free(chip); |
diff --git a/sound/pci/fm801.c b/sound/pci/fm801.c index 0afa573dd244..3aed27eace2c 100644 --- a/sound/pci/fm801.c +++ b/sound/pci/fm801.c | |||
@@ -1371,7 +1371,7 @@ static int __devinit snd_fm801_create(struct snd_card *card, | |||
1371 | return err; | 1371 | return err; |
1372 | } | 1372 | } |
1373 | chip->port = pci_resource_start(pci, 0); | 1373 | chip->port = pci_resource_start(pci, 0); |
1374 | if (request_irq(pci->irq, snd_fm801_interrupt, SA_INTERRUPT|SA_SHIRQ, | 1374 | if (request_irq(pci->irq, snd_fm801_interrupt, IRQF_DISABLED|IRQF_SHARED, |
1375 | "FM801", chip)) { | 1375 | "FM801", chip)) { |
1376 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", chip->irq); | 1376 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", chip->irq); |
1377 | snd_fm801_free(chip); | 1377 | snd_fm801_free(chip); |
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 4070b5cd9b6b..025af7c0c6e1 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -1486,7 +1486,7 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci, | |||
1486 | goto errout; | 1486 | goto errout; |
1487 | } | 1487 | } |
1488 | 1488 | ||
1489 | if (request_irq(pci->irq, azx_interrupt, SA_INTERRUPT|SA_SHIRQ, | 1489 | if (request_irq(pci->irq, azx_interrupt, IRQF_DISABLED|IRQF_SHARED, |
1490 | "HDA Intel", (void*)chip)) { | 1490 | "HDA Intel", (void*)chip)) { |
1491 | snd_printk(KERN_ERR SFX "unable to grab IRQ %d\n", pci->irq); | 1491 | snd_printk(KERN_ERR SFX "unable to grab IRQ %d\n", pci->irq); |
1492 | err = -EBUSY; | 1492 | err = -EBUSY; |
diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c index 845907159b74..89a06dec4365 100644 --- a/sound/pci/ice1712/ice1712.c +++ b/sound/pci/ice1712/ice1712.c | |||
@@ -2606,7 +2606,7 @@ static int __devinit snd_ice1712_create(struct snd_card *card, | |||
2606 | ice->dmapath_port = pci_resource_start(pci, 2); | 2606 | ice->dmapath_port = pci_resource_start(pci, 2); |
2607 | ice->profi_port = pci_resource_start(pci, 3); | 2607 | ice->profi_port = pci_resource_start(pci, 3); |
2608 | 2608 | ||
2609 | if (request_irq(pci->irq, snd_ice1712_interrupt, SA_INTERRUPT|SA_SHIRQ, | 2609 | if (request_irq(pci->irq, snd_ice1712_interrupt, IRQF_DISABLED|IRQF_SHARED, |
2610 | "ICE1712", ice)) { | 2610 | "ICE1712", ice)) { |
2611 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 2611 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
2612 | snd_ice1712_free(ice); | 2612 | snd_ice1712_free(ice); |
diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c index 34a58c629f47..ad69ed7c1b81 100644 --- a/sound/pci/ice1712/ice1724.c +++ b/sound/pci/ice1712/ice1724.c | |||
@@ -2253,7 +2253,7 @@ static int __devinit snd_vt1724_create(struct snd_card *card, | |||
2253 | ice->profi_port = pci_resource_start(pci, 1); | 2253 | ice->profi_port = pci_resource_start(pci, 1); |
2254 | 2254 | ||
2255 | if (request_irq(pci->irq, snd_vt1724_interrupt, | 2255 | if (request_irq(pci->irq, snd_vt1724_interrupt, |
2256 | SA_INTERRUPT|SA_SHIRQ, "ICE1724", ice)) { | 2256 | IRQF_DISABLED|IRQF_SHARED, "ICE1724", ice)) { |
2257 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 2257 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
2258 | snd_vt1724_free(ice); | 2258 | snd_vt1724_free(ice); |
2259 | return -EIO; | 2259 | return -EIO; |
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c index edc14475ef82..5634bc349257 100644 --- a/sound/pci/intel8x0.c +++ b/sound/pci/intel8x0.c | |||
@@ -2475,7 +2475,7 @@ static int intel8x0_resume(struct pci_dev *pci) | |||
2475 | pci_restore_state(pci); | 2475 | pci_restore_state(pci); |
2476 | pci_enable_device(pci); | 2476 | pci_enable_device(pci); |
2477 | pci_set_master(pci); | 2477 | pci_set_master(pci); |
2478 | request_irq(pci->irq, snd_intel8x0_interrupt, SA_INTERRUPT|SA_SHIRQ, | 2478 | request_irq(pci->irq, snd_intel8x0_interrupt, IRQF_DISABLED|IRQF_SHARED, |
2479 | card->shortname, chip); | 2479 | card->shortname, chip); |
2480 | chip->irq = pci->irq; | 2480 | chip->irq = pci->irq; |
2481 | synchronize_irq(chip->irq); | 2481 | synchronize_irq(chip->irq); |
@@ -2848,7 +2848,7 @@ static int __devinit snd_intel8x0_create(struct snd_card *card, | |||
2848 | 2848 | ||
2849 | /* request irq after initializaing int_sta_mask, etc */ | 2849 | /* request irq after initializaing int_sta_mask, etc */ |
2850 | if (request_irq(pci->irq, snd_intel8x0_interrupt, | 2850 | if (request_irq(pci->irq, snd_intel8x0_interrupt, |
2851 | SA_INTERRUPT|SA_SHIRQ, card->shortname, chip)) { | 2851 | IRQF_DISABLED|IRQF_SHARED, card->shortname, chip)) { |
2852 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 2852 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
2853 | snd_intel8x0_free(chip); | 2853 | snd_intel8x0_free(chip); |
2854 | return -EBUSY; | 2854 | return -EBUSY; |
diff --git a/sound/pci/intel8x0m.c b/sound/pci/intel8x0m.c index 24703d75b65a..f28e273ae276 100644 --- a/sound/pci/intel8x0m.c +++ b/sound/pci/intel8x0m.c | |||
@@ -1185,7 +1185,7 @@ static int __devinit snd_intel8x0m_create(struct snd_card *card, | |||
1185 | } | 1185 | } |
1186 | 1186 | ||
1187 | port_inited: | 1187 | port_inited: |
1188 | if (request_irq(pci->irq, snd_intel8x0_interrupt, SA_INTERRUPT|SA_SHIRQ, | 1188 | if (request_irq(pci->irq, snd_intel8x0_interrupt, IRQF_DISABLED|IRQF_SHARED, |
1189 | card->shortname, chip)) { | 1189 | card->shortname, chip)) { |
1190 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 1190 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
1191 | snd_intel8x0_free(chip); | 1191 | snd_intel8x0_free(chip); |
diff --git a/sound/pci/korg1212/korg1212.c b/sound/pci/korg1212/korg1212.c index 6e97932de34f..2b4ce002794a 100644 --- a/sound/pci/korg1212/korg1212.c +++ b/sound/pci/korg1212/korg1212.c | |||
@@ -2237,7 +2237,7 @@ static int __devinit snd_korg1212_create(struct snd_card *card, struct pci_dev * | |||
2237 | } | 2237 | } |
2238 | 2238 | ||
2239 | err = request_irq(pci->irq, snd_korg1212_interrupt, | 2239 | err = request_irq(pci->irq, snd_korg1212_interrupt, |
2240 | SA_INTERRUPT|SA_SHIRQ, | 2240 | IRQF_DISABLED|IRQF_SHARED, |
2241 | "korg1212", korg1212); | 2241 | "korg1212", korg1212); |
2242 | 2242 | ||
2243 | if (err) { | 2243 | if (err) { |
diff --git a/sound/pci/maestro3.c b/sound/pci/maestro3.c index 1c344fbd964d..828eab59253a 100644 --- a/sound/pci/maestro3.c +++ b/sound/pci/maestro3.c | |||
@@ -2760,7 +2760,7 @@ snd_m3_create(struct snd_card *card, struct pci_dev *pci, | |||
2760 | 2760 | ||
2761 | tasklet_init(&chip->hwvol_tq, snd_m3_update_hw_volume, (unsigned long)chip); | 2761 | tasklet_init(&chip->hwvol_tq, snd_m3_update_hw_volume, (unsigned long)chip); |
2762 | 2762 | ||
2763 | if (request_irq(pci->irq, snd_m3_interrupt, SA_INTERRUPT|SA_SHIRQ, | 2763 | if (request_irq(pci->irq, snd_m3_interrupt, IRQF_DISABLED|IRQF_SHARED, |
2764 | card->driver, chip)) { | 2764 | card->driver, chip)) { |
2765 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 2765 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
2766 | snd_m3_free(chip); | 2766 | snd_m3_free(chip); |
diff --git a/sound/pci/mixart/mixart.c b/sound/pci/mixart/mixart.c index 366c4a7e65c6..a4aaa7b9a231 100644 --- a/sound/pci/mixart/mixart.c +++ b/sound/pci/mixart/mixart.c | |||
@@ -1319,7 +1319,7 @@ static int __devinit snd_mixart_probe(struct pci_dev *pci, | |||
1319 | pci_resource_len(pci, i)); | 1319 | pci_resource_len(pci, i)); |
1320 | } | 1320 | } |
1321 | 1321 | ||
1322 | if (request_irq(pci->irq, snd_mixart_interrupt, SA_INTERRUPT|SA_SHIRQ, CARD_NAME, (void *)mgr)) { | 1322 | if (request_irq(pci->irq, snd_mixart_interrupt, IRQF_DISABLED|IRQF_SHARED, CARD_NAME, (void *)mgr)) { |
1323 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 1323 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
1324 | snd_mixart_free(mgr); | 1324 | snd_mixart_free(mgr); |
1325 | return -EBUSY; | 1325 | return -EBUSY; |
diff --git a/sound/pci/nm256/nm256.c b/sound/pci/nm256/nm256.c index b92d6600deb9..56d7282e6651 100644 --- a/sound/pci/nm256/nm256.c +++ b/sound/pci/nm256/nm256.c | |||
@@ -465,7 +465,7 @@ static int snd_nm256_acquire_irq(struct nm256 *chip) | |||
465 | { | 465 | { |
466 | mutex_lock(&chip->irq_mutex); | 466 | mutex_lock(&chip->irq_mutex); |
467 | if (chip->irq < 0) { | 467 | if (chip->irq < 0) { |
468 | if (request_irq(chip->pci->irq, chip->interrupt, SA_INTERRUPT|SA_SHIRQ, | 468 | if (request_irq(chip->pci->irq, chip->interrupt, IRQF_DISABLED|IRQF_SHARED, |
469 | chip->card->driver, chip)) { | 469 | chip->card->driver, chip)) { |
470 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", chip->pci->irq); | 470 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", chip->pci->irq); |
471 | mutex_unlock(&chip->irq_mutex); | 471 | mutex_unlock(&chip->irq_mutex); |
diff --git a/sound/pci/pcxhr/pcxhr.c b/sound/pci/pcxhr/pcxhr.c index 8198884b51ee..ae980e11827f 100644 --- a/sound/pci/pcxhr/pcxhr.c +++ b/sound/pci/pcxhr/pcxhr.c | |||
@@ -1250,7 +1250,7 @@ static int __devinit pcxhr_probe(struct pci_dev *pci, const struct pci_device_id | |||
1250 | mgr->pci = pci; | 1250 | mgr->pci = pci; |
1251 | mgr->irq = -1; | 1251 | mgr->irq = -1; |
1252 | 1252 | ||
1253 | if (request_irq(pci->irq, pcxhr_interrupt, SA_INTERRUPT|SA_SHIRQ, | 1253 | if (request_irq(pci->irq, pcxhr_interrupt, IRQF_DISABLED|IRQF_SHARED, |
1254 | card_name, mgr)) { | 1254 | card_name, mgr)) { |
1255 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 1255 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
1256 | pcxhr_free(mgr); | 1256 | pcxhr_free(mgr); |
diff --git a/sound/pci/riptide/riptide.c b/sound/pci/riptide/riptide.c index 5618ec9740bd..5501a08ca23a 100644 --- a/sound/pci/riptide/riptide.c +++ b/sound/pci/riptide/riptide.c | |||
@@ -1892,7 +1892,7 @@ snd_riptide_create(struct snd_card *card, struct pci_dev *pci, | |||
1892 | UNSET_AIE(hwport); | 1892 | UNSET_AIE(hwport); |
1893 | 1893 | ||
1894 | if (request_irq | 1894 | if (request_irq |
1895 | (pci->irq, snd_riptide_interrupt, SA_INTERRUPT | SA_SHIRQ, | 1895 | (pci->irq, snd_riptide_interrupt, IRQF_DISABLED | IRQF_SHARED, |
1896 | "RIPTIDE", chip)) { | 1896 | "RIPTIDE", chip)) { |
1897 | snd_printk(KERN_ERR "Riptide: unable to grab IRQ %d\n", | 1897 | snd_printk(KERN_ERR "Riptide: unable to grab IRQ %d\n", |
1898 | pci->irq); | 1898 | pci->irq); |
diff --git a/sound/pci/rme32.c b/sound/pci/rme32.c index 2cb9fe98db2f..2e24b68d07aa 100644 --- a/sound/pci/rme32.c +++ b/sound/pci/rme32.c | |||
@@ -1374,7 +1374,7 @@ static int __devinit snd_rme32_create(struct rme32 * rme32) | |||
1374 | return -ENOMEM; | 1374 | return -ENOMEM; |
1375 | } | 1375 | } |
1376 | 1376 | ||
1377 | if (request_irq(pci->irq, snd_rme32_interrupt, SA_INTERRUPT | SA_SHIRQ, "RME32", (void *) rme32)) { | 1377 | if (request_irq(pci->irq, snd_rme32_interrupt, IRQF_DISABLED | IRQF_SHARED, "RME32", (void *) rme32)) { |
1378 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 1378 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
1379 | return -EBUSY; | 1379 | return -EBUSY; |
1380 | } | 1380 | } |
diff --git a/sound/pci/rme96.c b/sound/pci/rme96.c index 991cb18c14f3..fde0f3e20530 100644 --- a/sound/pci/rme96.c +++ b/sound/pci/rme96.c | |||
@@ -1588,7 +1588,7 @@ snd_rme96_create(struct rme96 *rme96) | |||
1588 | return -ENOMEM; | 1588 | return -ENOMEM; |
1589 | } | 1589 | } |
1590 | 1590 | ||
1591 | if (request_irq(pci->irq, snd_rme96_interrupt, SA_INTERRUPT|SA_SHIRQ, "RME96", (void *)rme96)) { | 1591 | if (request_irq(pci->irq, snd_rme96_interrupt, IRQF_DISABLED|IRQF_SHARED, "RME96", (void *)rme96)) { |
1592 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 1592 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
1593 | return -EBUSY; | 1593 | return -EBUSY; |
1594 | } | 1594 | } |
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c index eaf3c22449ad..99cf86244acb 100644 --- a/sound/pci/rme9652/hdsp.c +++ b/sound/pci/rme9652/hdsp.c | |||
@@ -4912,7 +4912,7 @@ static int __devinit snd_hdsp_create(struct snd_card *card, | |||
4912 | return -EBUSY; | 4912 | return -EBUSY; |
4913 | } | 4913 | } |
4914 | 4914 | ||
4915 | if (request_irq(pci->irq, snd_hdsp_interrupt, SA_INTERRUPT|SA_SHIRQ, "hdsp", (void *)hdsp)) { | 4915 | if (request_irq(pci->irq, snd_hdsp_interrupt, IRQF_DISABLED|IRQF_SHARED, "hdsp", (void *)hdsp)) { |
4916 | snd_printk(KERN_ERR "Hammerfall-DSP: unable to use IRQ %d\n", pci->irq); | 4916 | snd_printk(KERN_ERR "Hammerfall-DSP: unable to use IRQ %d\n", pci->irq); |
4917 | return -EBUSY; | 4917 | return -EBUSY; |
4918 | } | 4918 | } |
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c index bba1615504d3..7d03ae066d53 100644 --- a/sound/pci/rme9652/hdspm.c +++ b/sound/pci/rme9652/hdspm.c | |||
@@ -3497,7 +3497,7 @@ static int __devinit snd_hdspm_create(struct snd_card *card, struct hdspm * hdsp | |||
3497 | hdspm->port + io_extent - 1); | 3497 | hdspm->port + io_extent - 1); |
3498 | 3498 | ||
3499 | if (request_irq(pci->irq, snd_hdspm_interrupt, | 3499 | if (request_irq(pci->irq, snd_hdspm_interrupt, |
3500 | SA_INTERRUPT | SA_SHIRQ, "hdspm", | 3500 | IRQF_DISABLED | IRQF_SHARED, "hdspm", |
3501 | (void *) hdspm)) { | 3501 | (void *) hdspm)) { |
3502 | snd_printk(KERN_ERR "HDSPM: unable to use IRQ %d\n", pci->irq); | 3502 | snd_printk(KERN_ERR "HDSPM: unable to use IRQ %d\n", pci->irq); |
3503 | return -EBUSY; | 3503 | return -EBUSY; |
diff --git a/sound/pci/rme9652/rme9652.c b/sound/pci/rme9652/rme9652.c index 3b945e8c1b15..9534e1834138 100644 --- a/sound/pci/rme9652/rme9652.c +++ b/sound/pci/rme9652/rme9652.c | |||
@@ -2500,7 +2500,7 @@ static int __devinit snd_rme9652_create(struct snd_card *card, | |||
2500 | return -EBUSY; | 2500 | return -EBUSY; |
2501 | } | 2501 | } |
2502 | 2502 | ||
2503 | if (request_irq(pci->irq, snd_rme9652_interrupt, SA_INTERRUPT|SA_SHIRQ, "rme9652", (void *)rme9652)) { | 2503 | if (request_irq(pci->irq, snd_rme9652_interrupt, IRQF_DISABLED|IRQF_SHARED, "rme9652", (void *)rme9652)) { |
2504 | snd_printk(KERN_ERR "unable to request IRQ %d\n", pci->irq); | 2504 | snd_printk(KERN_ERR "unable to request IRQ %d\n", pci->irq); |
2505 | return -EBUSY; | 2505 | return -EBUSY; |
2506 | } | 2506 | } |
diff --git a/sound/pci/sonicvibes.c b/sound/pci/sonicvibes.c index e5511606af04..c4303418668b 100644 --- a/sound/pci/sonicvibes.c +++ b/sound/pci/sonicvibes.c | |||
@@ -1257,7 +1257,7 @@ static int __devinit snd_sonicvibes_create(struct snd_card *card, | |||
1257 | sonic->midi_port = pci_resource_start(pci, 3); | 1257 | sonic->midi_port = pci_resource_start(pci, 3); |
1258 | sonic->game_port = pci_resource_start(pci, 4); | 1258 | sonic->game_port = pci_resource_start(pci, 4); |
1259 | 1259 | ||
1260 | if (request_irq(pci->irq, snd_sonicvibes_interrupt, SA_INTERRUPT|SA_SHIRQ, "S3 SonicVibes", (void *)sonic)) { | 1260 | if (request_irq(pci->irq, snd_sonicvibes_interrupt, IRQF_DISABLED|IRQF_SHARED, "S3 SonicVibes", (void *)sonic)) { |
1261 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 1261 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
1262 | snd_sonicvibes_free(sonic); | 1262 | snd_sonicvibes_free(sonic); |
1263 | return -EBUSY; | 1263 | return -EBUSY; |
diff --git a/sound/pci/trident/trident_main.c b/sound/pci/trident/trident_main.c index d99ed7237750..4930cc6b054d 100644 --- a/sound/pci/trident/trident_main.c +++ b/sound/pci/trident/trident_main.c | |||
@@ -3599,7 +3599,7 @@ int __devinit snd_trident_create(struct snd_card *card, | |||
3599 | } | 3599 | } |
3600 | trident->port = pci_resource_start(pci, 0); | 3600 | trident->port = pci_resource_start(pci, 0); |
3601 | 3601 | ||
3602 | if (request_irq(pci->irq, snd_trident_interrupt, SA_INTERRUPT|SA_SHIRQ, | 3602 | if (request_irq(pci->irq, snd_trident_interrupt, IRQF_DISABLED|IRQF_SHARED, |
3603 | "Trident Audio", trident)) { | 3603 | "Trident Audio", trident)) { |
3604 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 3604 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
3605 | snd_trident_free(trident); | 3605 | snd_trident_free(trident); |
diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c index 2527bbd958c5..37bd5eb7a380 100644 --- a/sound/pci/via82xx.c +++ b/sound/pci/via82xx.c | |||
@@ -2281,7 +2281,7 @@ static int __devinit snd_via82xx_create(struct snd_card *card, | |||
2281 | if (request_irq(pci->irq, | 2281 | if (request_irq(pci->irq, |
2282 | chip_type == TYPE_VIA8233 ? | 2282 | chip_type == TYPE_VIA8233 ? |
2283 | snd_via8233_interrupt : snd_via686_interrupt, | 2283 | snd_via8233_interrupt : snd_via686_interrupt, |
2284 | SA_INTERRUPT|SA_SHIRQ, | 2284 | IRQF_DISABLED|IRQF_SHARED, |
2285 | card->driver, chip)) { | 2285 | card->driver, chip)) { |
2286 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 2286 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
2287 | snd_via82xx_free(chip); | 2287 | snd_via82xx_free(chip); |
diff --git a/sound/pci/via82xx_modem.c b/sound/pci/via82xx_modem.c index 577a2b03759f..c1ede6c2a6d4 100644 --- a/sound/pci/via82xx_modem.c +++ b/sound/pci/via82xx_modem.c | |||
@@ -1118,7 +1118,7 @@ static int __devinit snd_via82xx_create(struct snd_card *card, | |||
1118 | return err; | 1118 | return err; |
1119 | } | 1119 | } |
1120 | chip->port = pci_resource_start(pci, 0); | 1120 | chip->port = pci_resource_start(pci, 0); |
1121 | if (request_irq(pci->irq, snd_via82xx_interrupt, SA_INTERRUPT|SA_SHIRQ, | 1121 | if (request_irq(pci->irq, snd_via82xx_interrupt, IRQF_DISABLED|IRQF_SHARED, |
1122 | card->driver, chip)) { | 1122 | card->driver, chip)) { |
1123 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 1123 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
1124 | snd_via82xx_free(chip); | 1124 | snd_via82xx_free(chip); |
diff --git a/sound/pci/vx222/vx222.c b/sound/pci/vx222/vx222.c index 0f1ebb010a5e..7deda25f7adc 100644 --- a/sound/pci/vx222/vx222.c +++ b/sound/pci/vx222/vx222.c | |||
@@ -162,7 +162,7 @@ static int __devinit snd_vx222_create(struct snd_card *card, struct pci_dev *pci | |||
162 | for (i = 0; i < 2; i++) | 162 | for (i = 0; i < 2; i++) |
163 | vx->port[i] = pci_resource_start(pci, i + 1); | 163 | vx->port[i] = pci_resource_start(pci, i + 1); |
164 | 164 | ||
165 | if (request_irq(pci->irq, snd_vx_irq_handler, SA_INTERRUPT|SA_SHIRQ, | 165 | if (request_irq(pci->irq, snd_vx_irq_handler, IRQF_DISABLED|IRQF_SHARED, |
166 | CARD_NAME, (void *) chip)) { | 166 | CARD_NAME, (void *) chip)) { |
167 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 167 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
168 | snd_vx222_free(chip); | 168 | snd_vx222_free(chip); |
diff --git a/sound/pci/ymfpci/ymfpci_main.c b/sound/pci/ymfpci/ymfpci_main.c index f894752523bb..a55b5fd7da64 100644 --- a/sound/pci/ymfpci/ymfpci_main.c +++ b/sound/pci/ymfpci/ymfpci_main.c | |||
@@ -2288,7 +2288,7 @@ int __devinit snd_ymfpci_create(struct snd_card *card, | |||
2288 | snd_ymfpci_free(chip); | 2288 | snd_ymfpci_free(chip); |
2289 | return -EBUSY; | 2289 | return -EBUSY; |
2290 | } | 2290 | } |
2291 | if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "YMFPCI", (void *) chip)) { | 2291 | if (request_irq(pci->irq, snd_ymfpci_interrupt, IRQF_DISABLED|IRQF_SHARED, "YMFPCI", (void *) chip)) { |
2292 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 2292 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
2293 | snd_ymfpci_free(chip); | 2293 | snd_ymfpci_free(chip); |
2294 | return -EBUSY; | 2294 | return -EBUSY; |