All of lore.kernel.org
 help / color / mirror / Atom feed
* au88xo spin_lock and spin_unlock error
@ 2003-10-13  3:30 Supphachoke Suntiwichaya
  2003-10-13  4:05 ` Supphachoke Suntiwichaya
  0 siblings, 1 reply; 3+ messages in thread
From: Supphachoke Suntiwichaya @ 2003-10-13  3:30 UTC (permalink / raw)
  To: alsa-devel

Hi,
    I can't  compile ALSA-DRIVER 0.9.7b .

====
In file included from au8810_core.c:2:
au88x0_core.c: In function `vortex_adb_allocroute':
au88x0_core.c:1780: incompatible type for argument 1 of `_raw_spin_lock'
au88x0_core.c:1887: incompatible type for argument 1 of `_raw_spin_unlock'
make[2]: *** [au8810_core.o] Error 1
make[1]: *** [_modsubdir_au88x0] Error 2

====
I used kernel 2.4.22
http://www-ccrma.stanford.edu/planetccrma/software/system.html#kernel

MrChoke
-- 

Name : Supphachoke Suntiwichaya
Email : MrChoke@opentle.org
URL : http://jedi.links.nectec.or.th/mrchoke/
Distribution : Linux TLE 5.0 (Andaman)
OS : Linux 2.4.23-pre4-tv #2 อา. ก.ย. 14 16:58:21 ICT 2003 i686 GNU/Linux
Uptime :  10:25:00  up 6 days, 18:39,  1 user,  load average: 0.13, 0.15, 0.16




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

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

* Re: au88xo spin_lock and spin_unlock error
  2003-10-13  3:30 au88xo spin_lock and spin_unlock error Supphachoke Suntiwichaya
@ 2003-10-13  4:05 ` Supphachoke Suntiwichaya
  2003-10-14  2:07   ` au88xo spin_lock and spin_unlock error (please apply patch) Manuel Jander
  0 siblings, 1 reply; 3+ messages in thread
From: Supphachoke Suntiwichaya @ 2003-10-13  4:05 UTC (permalink / raw)
  Cc: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 899 bytes --]

Again
       Check my patch , it correct ?

MrChoke

Supphachoke Suntiwichaya wrote:

> Hi,
>    I can't  compile ALSA-DRIVER 0.9.7b .
>
> ====
> In file included from au8810_core.c:2:
> au88x0_core.c: In function `vortex_adb_allocroute':
> au88x0_core.c:1780: incompatible type for argument 1 of `_raw_spin_lock'
> au88x0_core.c:1887: incompatible type for argument 1 of 
> `_raw_spin_unlock'
> make[2]: *** [au8810_core.o] Error 1
> make[1]: *** [_modsubdir_au88x0] Error 2
>
> ====
> I used kernel 2.4.22
> http://www-ccrma.stanford.edu/planetccrma/software/system.html#kernel
>
> MrChoke



-- 

Name : Supphachoke Suntiwichaya
Email : MrChoke@opentle.org
URL : http://jedi.links.nectec.or.th/mrchoke/
Distribution : Linux TLE 5.0 (Andaman)
OS : Linux 2.4.23-pre4-tv #2 อา. ก.ย. 14 16:58:21 ICT 2003 i686 GNU/Linux
Uptime :  11:05:00  up 6 days, 19:19,  1 user,  load average: 0.38, 0.42, 0.27


[-- Attachment #2: alsa-driver-0.9.7b-spin.patch --]
[-- Type: text/plain, Size: 667 bytes --]

--- alsa-driver-0.9.7b/pci/au88x0/au88x0_core.c	2003-10-06 21:01:04.000000000 +0700
+++ alsa-driver-0.9.7b/pci/au88x0/au88x0_core.c-spin	2003-10-13 10:46:53.000000000 +0700
@@ -1777,7 +1777,7 @@
 	if ((nr_ch == 3) || ((dir == SNDRV_PCM_STREAM_CAPTURE)&&(nr_ch > 2)))
 		return -EBUSY;
 	
-	spin_lock(vortex->lock);
+	spin_lock(&vortex->lock);
 	if (dma >= 0) {
    		en = 0;
 		vortex_adb_checkinout(vortex, vortex->dma_adb[dma].resources, en, VORTEX_RESOURCE_DMA);
@@ -1884,7 +1884,7 @@
 		}
 	}
 	vortex->dma_adb[dma].nr_ch = nr_ch;
-	spin_unlock(vortex->lock);
+	spin_unlock(&vortex->lock);
 	
 #if 0
 	/* AC97 Codec channel setup. FIXME: this has no effect !! */

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

* Re: au88xo spin_lock and spin_unlock error (please apply patch)
  2003-10-13  4:05 ` Supphachoke Suntiwichaya
@ 2003-10-14  2:07   ` Manuel Jander
  0 siblings, 0 replies; 3+ messages in thread
From: Manuel Jander @ 2003-10-14  2:07 UTC (permalink / raw)
  To: Alsa Devel list

Hi

Yeah, its correct. I wonder how this bug sneaked in again, i have fixed
this at least 2 times before :(

Best Regards

Manuel Jander

On Mon, 2003-10-13 at 00:05, Supphachoke Suntiwichaya wrote:
> Again
>        Check my patch , it correct ?
> 
> MrChoke
> 
> Supphachoke Suntiwichaya wrote:
> 
> > Hi,
> >    I can't  compile ALSA-DRIVER 0.9.7b .
> >
> > ====
> > In file included from au8810_core.c:2:
> > au88x0_core.c: In function `vortex_adb_allocroute':
> > au88x0_core.c:1780: incompatible type for argument 1 of `_raw_spin_lock'
> > au88x0_core.c:1887: incompatible type for argument 1 of 
> > `_raw_spin_unlock'
> > make[2]: *** [au8810_core.o] Error 1
> > make[1]: *** [_modsubdir_au88x0] Error 2
> >
> > ====
> > I used kernel 2.4.22
> > http://www-ccrma.stanford.edu/planetccrma/software/system.html#kernel
> >
> > MrChoke
> 
> 



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

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

end of thread, other threads:[~2003-10-14  2:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-13  3:30 au88xo spin_lock and spin_unlock error Supphachoke Suntiwichaya
2003-10-13  4:05 ` Supphachoke Suntiwichaya
2003-10-14  2:07   ` au88xo spin_lock and spin_unlock error (please apply patch) Manuel Jander

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.