commit | c9f97daf129f4466351c82c85d377d96a1ab9a6f | [log] [tgz] |
---|---|---|
author | Miguel Gaio <mgaio35@gmail.com> | Tue Jul 17 10:05:54 2018 +0200 |
committer | Miguel Gaio <mgaio35@gmail.com> | Tue Jul 17 13:37:41 2018 +0200 |
tree | f70dfaef8ed06461bc870a39acac33455548abc7 | |
parent | 67b9210d344c34e8d1aa0cfe638abce71c5221ca [diff] [blame] |
Corrected pcm_sync_ptr() on dma mmap coherent architecture It is valid to get null sync_ptr on dma mmap coherent architecture. In this case pcm_sync_ptr() is a nop. Signed-off-by: Miguel Gaio <mgaio35@gmail.com>
diff --git a/src/pcm.c b/src/pcm.c index f665cb4..7ea58bd 100644 --- a/src/pcm.c +++ b/src/pcm.c
@@ -511,7 +511,7 @@ } return 0; } - return -1; + return 0; } static int pcm_hw_mmap_status(struct pcm *pcm)