From: Georg Chini <georg.chini@triaton-webhosting.com>
To: sparclinux@vger.kernel.org
Subject: cs4231 on sbus (ultra 2)
Date: Mon, 03 Oct 2005 12:50:38 +0000 [thread overview]
Message-ID: <4341291E.5060001@triaton-webhosting.com> (raw)
Hello,
I am using 2.6.14-rc2-git4, which includes the patch for cs4231
on sbus sent in by Christopher Zimmermann. It does not work
properly on my machine, there is a lot of noise in the playback.
As I am no kernel programmer, I need some help in sorting out
the problems.
After looking at the code I have a few questions:
1) After playing some sound, the DMA-controller is not reset,
so that playing the next sound will start with the rest of the
recent sound. Is there a way to reset a single DMA channel?
2) Is it correct that not incrementing p_periods_sent when the
first block of data is transfered will lead to playing the same
block twice?
3) snd_cs4231_playback_pointer returns a value which is two
period_bytes larger than the DMA-pointer. Shouldn't it return
a value which reflects the state of the current DMA-process?
4) Other drivers use sbus_map_single or pci_map_single to get
hold of DMA-buffers. This is not the case with this driver. Is
it not needed here?
Any comments and suggestions are welcome.
Regards
Georg Chini
next reply other threads:[~2005-10-03 12:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-03 12:50 Georg Chini [this message]
2005-10-03 16:47 ` cs4231 on sbus (ultra 2) Christopher Zimmermann
2005-10-03 21:32 ` David S. Miller
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=4341291E.5060001@triaton-webhosting.com \
--to=georg.chini@triaton-webhosting.com \
--cc=sparclinux@vger.kernel.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 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.