diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2006-08-28 07:01:31 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-09-23 04:44:40 -0400 |
commit | 1f14d167f0233342eab53bb1a429ddad1e848de4 (patch) | |
tree | 58cea0df5e0bac079310f05951ce736fea8c1ccd /sound/sparc | |
parent | 99dabfe716002c54b4dffa545460dc74bc632c22 (diff) |
[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/sparc')
-rw-r--r-- | sound/sparc/dbri.c | 2 |
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) | |||
2111 | ret = setup_descs(dbri, DBRI_STREAMNO(substream), | 2111 | ret = setup_descs(dbri, DBRI_STREAMNO(substream), |
2112 | snd_pcm_lib_period_bytes(substream)); | 2112 | snd_pcm_lib_period_bytes(substream)); |
2113 | 2113 | ||
2114 | runtime->stop_threshold = DBRI_TD_MAXCNT / runtime->channels; | ||
2115 | |||
2116 | spin_unlock_irq(&dbri->lock); | 2114 | spin_unlock_irq(&dbri->lock); |
2117 | 2115 | ||
2118 | dprintk(D_USR, "prepare audio output. %d bytes\n", info->size); | 2116 | dprintk(D_USR, "prepare audio output. %d bytes\n", info->size); |