All of lore.kernel.org
 help / color / mirror / Atom feed
From: "freeman.liu" <freeman.liu@sun.com>
To: Alsa-devel@lists.sourceforge.net
Subject: A bug in intel8x0.c
Date: Fri, 16 Jan 2004 11:31:46 +0800	[thread overview]
Message-ID: <40075B22.6060208@sun.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0312171653350.8959@pnote.perex-int.cz>

Hi, guy,
   
    I'm sure I found a bug in intel8x0.c.
   
    At the end of the function snd_intel8x0_codec_semaphore. If we 
couldn't get the semaphore in
1 ms, we'll reset the register and return EBUSY. But to reset the 
register, we should do a
    iaputword ( chip, 0, 0 ), according to the datasheet, write any 
value the this register will reset the
register.
    But in the code, what we did is iagetword ( chip, 0 ). This bug 
hadn't be exclosed because this code
path had never been reached, for the semaphore error often means a 
hardware error, which is very
rare.
    So, is there anybody who can modify this ?


    Freeman




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

  parent reply	other threads:[~2004-01-16  3:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-17 15:53 alsa-lib resamplers broken James Courtier-Dutton
2003-12-17 15:54 ` Jaroslav Kysela
2003-12-17 16:15   ` James Courtier-Dutton
2003-12-17 16:25     ` Frank Barknecht
2003-12-17 19:33     ` Jaroslav Kysela
2004-01-16  3:31   ` freeman.liu [this message]
2004-01-16 12:13     ` A bug in intel8x0.c Clemens Ladisch
2004-01-17  1:47       ` freeman.liu

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=40075B22.6060208@sun.com \
    --to=freeman.liu@sun.com \
    --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 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.