Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d4a485b authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela
Browse files

[ALSA] Allow shared IRQ for CS5530 device



CS5530 is a PCI device and often shares the IRQ although the SB common
routine tries to allocate it exclusively.  This patch allows shared IRQ
for CS5530.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent 36726d9d
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -234,7 +234,9 @@ int snd_sbdsp_create(struct snd_card *card,
	chip->dma16 = -1;
	chip->dma16 = -1;
	chip->port = port;
	chip->port = port;
	
	
	if (request_irq(irq, irq_handler, hardware == SB_HW_ALS4000 ?
	if (request_irq(irq, irq_handler,
			(hardware == SB_HW_ALS4000 ||
			 hardware == SB_HW_CS5530) ?
			IRQF_SHARED : IRQF_DISABLED,
			IRQF_SHARED : IRQF_DISABLED,
			"SoundBlaster", (void *) chip)) {
			"SoundBlaster", (void *) chip)) {
		snd_printk(KERN_ERR "sb: can't grab irq %d\n", irq);
		snd_printk(KERN_ERR "sb: can't grab irq %d\n", irq);