Re: CMIPCI

From: Lawrence Walton (lawrence@the-penguin.otak.com)
Date: Wed Jul 24 2002 - 19:08:22 EST


Linus Torvalds [torvalds@transmeta.com] wrote:
> In article <20020724220223.GA761@the-penguin.otak.com>,
> Lawrence Walton <lawrence@the-penguin.otak.com> wrote:
> >Looks like CMIPCI does not compile right now.
>
> For "'synchronize_irq()' used without args", you only need to add the
> irq number as the argument, and it should work. Please test to verify,
> and send in a patch..
>
> Linus

Here it is my first LK patch.
tested even. :)

--- cmipci.c.orig 2002-07-24 17:01:44.000000000 -0700
+++ cmipci.c 2002-07-24 17:02:43.000000000 -0700
@@ -2479,7 +2479,7 @@
                 /* reset mixer */
                 snd_cmipci_mixer_write(cm, 0, 0);
 
- synchronize_irq();
+ synchronize_irq(dev->irq);
 
                 free_irq(cm->irq, (void *)cm);
         }

-- 
*--* Mail: lawrence@otak.com
*--* Voice: 425.739.4247
*--* Fax: 425.827.9577
*--* http://www.otak-k.com/~lawrence/
--------------------------------------
- - - - - - O t a k  i n c . - - - - - 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:18 EST