diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2006-08-28 13:01:31 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-09-23 10:44:40 +0200 |
commit | 1f14d167f0233342eab53bb1a429ddad1e848de4 (patch) | |
tree | 58cea0df5e0bac079310f05951ce736fea8c1ccd | |
parent | 99dabfe716002c54b4dffa545460dc74bc632c22 (diff) | |
download | op-kernel-dev-1f14d167f0233342eab53bb1a429ddad1e848de4.zip op-kernel-dev-1f14d167f0233342eab53bb1a429ddad1e848de4.tar.gz |
[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>
-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 6b090fb..82d5e80 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); |