]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] Fix PCM MMAP time-stamp mode
authorTakashi Iwai <tiwai@suse.de>
Fri, 23 Nov 2007 12:14:23 +0000 (13:14 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:28 +0000 (17:29 +0100)
commit13b6ac507ead3672a825d08b5af9dd0b8e84fef4
tree44ddeae0b3962762a5a939acd52d0ef35ae230aa
parent8b6cf0ab08ad5e2b654371791ff4fc3c3ce70514
[ALSA] Fix PCM MMAP time-stamp mode

When MMAP time-stamp mode is given, it's supposed to update the time-stamp
only at period boundary.  However, it currently updates at each status call
so this is just useless.  The patch fixes this misbehavior.
Also it fixes the wrong check of tstamp_mode (don't use bit-and for enum).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/core/pcm_lib.c
sound/core/pcm_native.c