Skip to content

Commit 65ca68b

Browse files
KAGA-KOKOLinus Torvalds
authored andcommitted
[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>
1 parent 63a4339 commit 65ca68b

102 files changed

Lines changed: 109 additions & 109 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎include/sound/initval.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static int snd_legacy_find_free_irq(int *irq_table)
6262
{
6363
while (*irq_table != -1) {
6464
if (!request_irq(*irq_table, snd_legacy_empty_irq_handler,
65-
SA_INTERRUPT | SA_PROBEIRQ, "ALSA Test IRQ",
65+
IRQF_DISABLED | IRQF_PROBE_SHARED, "ALSA Test IRQ",
6666
(void *) irq_table)) {
6767
free_irq(*irq_table, (void *) irq_table);
6868
return *irq_table;

‎sound/arm/aaci.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ static int aaci_pcm_open(struct aaci *aaci, struct snd_pcm_substream *substream,
360360
if (ret)
361361
goto out;
362362

363-
ret = request_irq(aaci->dev->irq[0], aaci_irq, SA_SHIRQ|SA_INTERRUPT,
363+
ret = request_irq(aaci->dev->irq[0], aaci_irq, IRQF_SHARED|IRQF_DISABLED,
364364
DRIVER_NAME, aaci);
365365
if (ret)
366366
goto out;

‎sound/drivers/mpu401/mpu401.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ static int snd_mpu401_create(int dev, struct snd_card **rcard)
8383
if ((err = snd_mpu401_uart_new(card, 0,
8484
MPU401_HW_MPU401,
8585
port[dev], 0,
86-
irq[dev], irq[dev] >= 0 ? SA_INTERRUPT : 0, NULL)) < 0) {
86+
irq[dev], irq[dev] >= 0 ? IRQF_DISABLED : 0, NULL)) < 0) {
8787
printk(KERN_ERR "MPU401 not detected at 0x%lx\n", port[dev]);
8888
goto _err;
8989
}

‎sound/drivers/mtpav.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ static int __init snd_mtpav_get_ISA(struct mtpav * mcard)
590590
return -EBUSY;
591591
}
592592
mcard->port = port;
593-
if (request_irq(irq, snd_mtpav_irqh, SA_INTERRUPT, "MOTU MTPAV", mcard)) {
593+
if (request_irq(irq, snd_mtpav_irqh, IRQF_DISABLED, "MOTU MTPAV", mcard)) {
594594
snd_printk("MTVAP IRQ %d busy\n", irq);
595595
return -EBUSY;
596596
}

‎sound/drivers/serial-u16550.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ static int __init snd_uart16550_create(struct snd_card *card,
795795

796796
if (irq >= 0 && irq != SNDRV_AUTO_IRQ) {
797797
if (request_irq(irq, snd_uart16550_interrupt,
798-
SA_INTERRUPT, "Serial MIDI", (void *) uart)) {
798+
IRQF_DISABLED, "Serial MIDI", (void *) uart)) {
799799
snd_printk("irq %d busy. Using Polling.\n", irq);
800800
} else {
801801
uart->irq = irq;

‎sound/isa/ad1816a/ad1816a.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ static int __devinit snd_card_ad1816a_probe(int dev, struct pnp_card_link *pcard
232232

233233
if (mpu_port[dev] > 0) {
234234
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,
236236
NULL) < 0)
237237
printk(KERN_ERR PFX "no MPU-401 device at 0x%lx.\n", mpu_port[dev]);
238238
}

‎sound/isa/ad1816a/ad1816a_lib.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ int __devinit snd_ad1816a_create(struct snd_card *card,
599599
snd_ad1816a_free(chip);
600600
return -EBUSY;
601601
}
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)) {
603603
snd_printk(KERN_ERR "ad1816a: can't grab IRQ %d\n", irq);
604604
snd_ad1816a_free(chip);
605605
return -EBUSY;

‎sound/isa/ad1848/ad1848_lib.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ int snd_ad1848_create(struct snd_card *card,
902902
snd_ad1848_free(chip);
903903
return -EBUSY;
904904
}
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)) {
906906
snd_printk(KERN_ERR "ad1848: can't grab IRQ %d\n", irq);
907907
snd_ad1848_free(chip);
908908
return -EBUSY;

‎sound/isa/als100.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ static int __devinit snd_card_als100_probe(int dev,
250250
if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) {
251251
if (snd_mpu401_uart_new(card, 0, MPU401_HW_ALS100,
252252
mpu_port[dev], 0,
253-
mpu_irq[dev], SA_INTERRUPT,
253+
mpu_irq[dev], IRQF_DISABLED,
254254
NULL) < 0)
255255
snd_printk(KERN_ERR PFX "no MPU-401 device at 0x%lx\n", mpu_port[dev]);
256256
}

‎sound/isa/azt2320.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ static int __devinit snd_card_azt2320_probe(int dev,
279279
if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) {
280280
if (snd_mpu401_uart_new(card, 0, MPU401_HW_AZT2320,
281281
mpu_port[dev], 0,
282-
mpu_irq[dev], SA_INTERRUPT,
282+
mpu_irq[dev], IRQF_DISABLED,
283283
NULL) < 0)
284284
snd_printk(KERN_ERR PFX "no MPU-401 device at 0x%lx\n", mpu_port[dev]);
285285
}

0 commit comments

Comments
 (0)