aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@suse.cz>2004-11-29 10:58:10 +0100
committerJaroslav Kysela <perex@suse.cz>2004-11-29 10:58:10 +0100
commitb14b185aaf2bdc49155fd06a14b0dfd651c730a4 (patch)
treebba7c7562757ceae02cb0d17988e6bc9b8cec151 /sound
parent771b767ca024ef0fe1d2735931cfe66d38cc9c06 (diff)
downloadhistory-b14b185aaf2bdc49155fd06a14b0dfd651c730a4.tar.gz
[ALSA] Fix the missing line in the patch for hdsp accurate_ptr
RME HDSP driver Fixed missing line in the patch for hdsp accurate_ptr. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/rme9652/hdsp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c
index dba61f685ffd52..48962810a1de2f 100644
--- a/sound/pci/rme9652/hdsp.c
+++ b/sound/pci/rme9652/hdsp.c
@@ -934,6 +934,7 @@ static snd_pcm_uframes_t hdsp_hw_pointer(hdsp_t *hdsp)
}
position &= HDSP_BufferPositionMask;
+ position /= 4;
position &= (hdsp->period_bytes/2) - 1;
return position;
}