]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit7c7fc2d44b7a660846115e65b67772b6742a14d8
tree44ddeae0b3962762a5a939acd52d0ef35ae230aa
parent7f6301cdfad5469312d266bcec3f1a02a8e8b5af
[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