Skip to content

Commit

Permalink
[ALSA] sparc dbri: OSS layer fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Krzysztof Helt authored and Jaroslav Kysela committed Sep 23, 2006
1 parent 99dabfe commit 1f14d16
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sound/sparc/dbri.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1f14d16

Please sign in to comment.