]> git.alsa-project.org Git - alsa-lib.git/commit
pcm_mmap_emul: Fix invalid check
authorTakashi Iwai <tiwai@suse.de>
Fri, 6 Jun 2008 15:05:56 +0000 (17:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 6 Jun 2008 15:05:56 +0000 (17:05 +0200)
commit2db108cc7201dc0421e3c50d81684ea05d04df30
treeb370d24509dbeeacd6bb9dc8681c5ca6a159b07e
parentb6af5e182292f30cd001eeded65d56f4de4c9a9f
pcm_mmap_emul: Fix invalid check

The check in snd_pcm_mmap_emul_refine() is bogus and buggy.

Since the changed access type is took back at snd_pcm_mmap_emul_refine
again, it has to check the availability of mmap at each time.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_mmap_emul.c