diff options
author | Christopher Zimmermann <madroach@zakweb.de> | 2005-09-21 03:41:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-09-21 03:41:22 -0400 |
commit | a131430c200f6bda313bf5d0a8e238c41afdfe0a (patch) | |
tree | c156cf5e4b65af0ad7bd2f5828e7697884a3c358 /drivers | |
parent | 1a3e64aa480101d11d8cac94ca57fd8bbe2536b7 (diff) |
[SPARC] cs4231: Fix SBUS support in this driver.
From: Christopher Zimmermann <madroach@zakweb.de>
This patch enables SBus support for the cs4231 sound driver.
It is tested on an Ultra2. Capture and playback both work.
I experienced lags and crashes using certain threaded
players like ogg123 and mp3blaster, while the former is
lagging far more. This behavior may be specific to SMP
systems. It is reproducable using the dummy sound card
driver. Sox works flawlessly.
Setting up the calculation of ptr in snd_cs4231_playback_pointer
was a bit strange. I got it to work by not incrementing the
[pc]_periods_sent counter when starting DMA the first time
in cs4231_dma_trigger. Therefore this dummy thing.
[ I did some minor cleanups -DaveM ]
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions