summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2006-08-28 15:01:31 +0400
committerJaroslav Kysela <perex@suse.cz>2006-09-23 12:44:40 +0400
commit1f14d167f0233342eab53bb1a429ddad1e848de4 (patch)
tree58cea0df5e0bac079310f05951ce736fea8c1ccd /sound
parent99dabfe716002c54b4dffa545460dc74bc632c22 (diff)
downloadlinux-1f14d167f0233342eab53bb1a429ddad1e848de4.tar.xz
[ALSA] sparc dbri: OSS layer fix
This patch removes setting of incorrect stop_threshold value inside the driver. After the change, playback through the OSS layer works correctly. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound')
-rw-r--r--sound/sparc/dbri.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/sparc/dbri.c b/sound/sparc/dbri.c
index 6b090fb66a8d..82d5e8072f2b 100644
--- a/sound/sparc/dbri.c
+++ b/sound/sparc/dbri.c
@@ -2111,8 +2111,6 @@ static int snd_dbri_prepare(struct snd_pcm_substream *substream)
ret = setup_descs(dbri, DBRI_STREAMNO(substream),
snd_pcm_lib_period_bytes(substream));
- runtime->stop_threshold = DBRI_TD_MAXCNT / runtime->channels;
-
spin_unlock_irq(&dbri->lock);
dprintk(D_USR, "prepare audio output. %d bytes\n", info->size);