From: Takashi Iwai Date: Thu, 23 Jul 2009 14:21:08 +0000 (+0200) Subject: ALSA: pcm - Fix hwptr buffer-size overlap bug X-Git-Tag: v2.6.31-rc5~88^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=947ca210f1df7656e19890832cb71fc3bdd88707;p=pandora-kernel.git ALSA: pcm - Fix hwptr buffer-size overlap bug The fix 79452f0a28aa5a40522c487b42a5fc423647ad98 introduced another bug due to the missing offset for the overlapped hwptr. When the hwptr goes back to zero, the delta value has to be corrected with the buffer size. Otherwise this causes looping sounds. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed