From: Supphachoke Suntiwichaya <mrchoke@opentle.org>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: au88xo spin_lock and spin_unlock error
Date: Mon, 13 Oct 2003 11:05:40 +0700 [thread overview]
Message-ID: <3F8A2494.30001@opentle.org> (raw)
In-Reply-To: <3F8A1C45.6040403@opentle.org>
[-- 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 !! */
next prev parent reply other threads:[~2003-10-13 4:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-13 3:30 au88xo spin_lock and spin_unlock error Supphachoke Suntiwichaya
2003-10-13 4:05 ` Supphachoke Suntiwichaya [this message]
2003-10-14 2:07 ` au88xo spin_lock and spin_unlock error (please apply patch) Manuel Jander
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F8A2494.30001@opentle.org \
--to=mrchoke@opentle.org \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox