linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cs4281 driver fix
@ 2002-10-04  5:47 Siddha, Suresh B
  0 siblings, 0 replies; 3+ messages in thread
From: Siddha, Suresh B @ 2002-10-04  5:47 UTC (permalink / raw)
  To: 'twoller@crystal.cirrus.com',
	'audio@crystal.cirrus.com',
	'linux-kernel@vger.kernel.org'

Patch below fixes a oops problem (in cs4281 sound driver) during system
reboot.

thanks,
suresh

 diff -Nru linux-2.5.39/sound/oss/cs4281/cs4281m.c~
linux-2.5.39/sound/oss/cs4281/cs4281m.c
--- linux-2.5.39/sound/oss/cs4281/cs4281m.c~    Thu Oct  3 20:56:19 2002
+++ linux-2.5.39/sound/oss/cs4281/cs4281m.c     Thu Oct  3 22:33:16 2002
@@ -4437,7 +4437,7 @@

 // ---------------------------------------------------------------------

-static void __devinit cs4281_remove(struct pci_dev *pci_dev)
+static void __devexit cs4281_remove(struct pci_dev *pci_dev)
 {
        struct cs4281_state *s = pci_get_drvdata(pci_dev);
        // stop DMA controller
@@ -4467,7 +4467,7 @@
        name:"cs4281",
        id_table:cs4281_pci_tbl,
        probe:cs4281_probe,
-       remove:cs4281_remove,
+       remove:__devexit_p(cs4281_remove),
        suspend:CS4281_SUSPEND_TBL,
        resume:CS4281_RESUME_TBL,
 };

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: cs4281 driver fix
  2002-10-07 15:13 Woller, Thomas
@ 2002-10-07 15:42 ` Alan Cox
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Cox @ 2002-10-07 15:42 UTC (permalink / raw)
  To: Woller, Thomas
  Cc: 'Siddha, Suresh B', 'linux-kernel@vger.kernel.org'

For 2.5 Linus is the best person, but if you cc me I can collect it up
too


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: cs4281 driver fix
@ 2002-10-07 15:13 Woller, Thomas
  2002-10-07 15:42 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Woller, Thomas @ 2002-10-07 15:13 UTC (permalink / raw)
  To: 'Siddha, Suresh B',
	Woller, Thomas, 'linux-kernel@vger.kernel.org'

thanks for the patch. i've been out having baby #2 but back on
email now. 

i have not been up on recent 2.5.x mods but the modification
looks simple and other audio drivers have the same modifications.
applying the fix to the 2.5.41(?) tree seems safe. i'll send your
patch to the 2.5.x audio responsible person, but not sure whom it
is? (i don't *think* it's alan).  also the cs46xx driver will
need the same mod which i'll create and send this week.
tom woller
tom.woller@cirrus.com

-----Original Message-----
From: Siddha, Suresh B [mailto:suresh.b.siddha@intel.com]
Sent: Friday, October 04, 2002 12:48 AM
To: 'twoller@crystal.cirrus.com'; 'audio@crystal.cirrus.com';
'linux-kernel@vger.kernel.org'
Subject: cs4281 driver fix


Patch below fixes a oops problem (in cs4281 sound driver) during
system
reboot.

thanks,
suresh

 diff -Nru linux-2.5.39/sound/oss/cs4281/cs4281m.c~
linux-2.5.39/sound/oss/cs4281/cs4281m.c
--- linux-2.5.39/sound/oss/cs4281/cs4281m.c~    Thu Oct  3
20:56:19 2002
+++ linux-2.5.39/sound/oss/cs4281/cs4281m.c     Thu Oct  3
22:33:16 2002
@@ -4437,7 +4437,7 @@

 //
-----------------------------------------------------------------
----

-static void __devinit cs4281_remove(struct pci_dev *pci_dev)
+static void __devexit cs4281_remove(struct pci_dev *pci_dev)
 {
        struct cs4281_state *s = pci_get_drvdata(pci_dev);
        // stop DMA controller
@@ -4467,7 +4467,7 @@
        name:"cs4281",
        id_table:cs4281_pci_tbl,
        probe:cs4281_probe,
-       remove:cs4281_remove,
+       remove:__devexit_p(cs4281_remove),
        suspend:CS4281_SUSPEND_TBL,
        resume:CS4281_RESUME_TBL,
 };

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-07 15:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-04  5:47 cs4281 driver fix Siddha, Suresh B
2002-10-07 15:13 Woller, Thomas
2002-10-07 15:42 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).