[ALSA] Remove IRQF_DISABLED for shared PCI irqs
Fix IRQ flags for PCI devices. The shared IRQs for PCI devices shouldn't be allocated with IRQF_DISABLED. Also, when MSI is enabled, IRQF_SHARED shouldn't be used. The patch removes unnecessary cast in request_irq and free_irq, too. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
这个提交包含在:
@@ -232,7 +232,7 @@ int snd_sbdsp_create(struct snd_card *card,
|
||||
chip->port = port;
|
||||
|
||||
if (request_irq(irq, irq_handler, hardware == SB_HW_ALS4000 ?
|
||||
IRQF_DISABLED | IRQF_SHARED : IRQF_DISABLED,
|
||||
IRQF_SHARED : IRQF_DISABLED,
|
||||
"SoundBlaster", (void *) chip)) {
|
||||
snd_printk(KERN_ERR "sb: can't grab irq %d\n", irq);
|
||||
snd_sbdsp_free(chip);
|
||||
|
在新工单中引用
屏蔽一个用户