From: Kyle Harris <kharris@nexus-tech.net>
To: linuxppc-embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: sound driver on mpc823
Date: Wed, 18 Apr 2001 14:29:19 -0400 [thread overview]
Message-ID: <3ADDDCFF.CB4B9A6F@nexus-tech.net> (raw)
Hi,
I'm working on a sound driver for the LM4548 (ac97 codec). I've taken
Dan Malek's cs4218_tdm driver and ported it to 2.4 kernel for a starting
point. I have a couple questions I hope someone can help me with.
The CPM reports underrun errors. The driver does not set the LAST bit
for any buffer descriptors and setting this bit prevents this error. But
only for a few bytes. If I set the data length to be greater than 16
bytes I still get underrun errors. The bit_clk (L1TCLK) is 12.288 MHz
and sync (L1RSYNC) is 48 kHz.
1) Why is the LAST bit never set? It seems this causes the application
to block waiting for completion. Which I guess is OK if the application
continues to send data to the driver. But is this desirable? How is the
device closed in this case?
2) Why do underrun errors occur even when the LAST bit is set? Is the
CPM unable to keep up at this data rate? Is this significant, or does
the driver/codec recover?
Thanks, Kyle.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next reply other threads:[~2001-04-18 18:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-18 18:29 Kyle Harris [this message]
2001-04-18 20:34 ` sound driver on mpc823 Dan Malek
2001-04-18 21:05 ` Kyle Harris
2001-04-18 22:49 ` Dan Malek
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=3ADDDCFF.CB4B9A6F@nexus-tech.net \
--to=kharris@nexus-tech.net \
--cc=linuxppc-embedded@lists.linuxppc.org \
/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;
as well as URLs for NNTP newsgroup(s).