Parcourir la source

[ALSA] doc - Remove IRQF_DISABLED from the example description

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>
Takashi Iwai il y a 18 ans
Parent
commit
a110133d4c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl

+ 1 - 1
Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl

@@ -1333,7 +1333,7 @@
           <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;