]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
[ALSA] doc - Remove IRQF_DISABLED from the example description
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 Aug 2007 14:16:07 +0000 (16:16 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:58:29 +0000 (15:58 +0200)
Remove the bogus IRQF_DISBLAED together with IRQF_SHARED from the
example code in the document.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl

index 9ec634c398d966e338b40fbdb77103fd4a5cc121..b9d2dbee9bc37ce1d418f55c37d918326b578425 100644 (file)
           <programlisting>
 <![CDATA[
   if (request_irq(pci->irq, snd_mychip_interrupt,
-                  IRQF_DISABLED|IRQF_SHARED, "My Chip", chip)) {
+                  IRQF_SHARED, "My Chip", chip)) {
           printk(KERN_ERR "cannot grab irq %d\n", pci->irq);
           snd_mychip_free(chip);
           return -EBUSY;