All of lore.kernel.org
 help / color / mirror / Atom feed
* pcm: pcm_ioplug - fix the avail_update mmap capture copy issue
       [not found] <1611240720891453028-webhooks-bot@alsa-project.org>
@ 2021-01-21 14:52 ` GitHub pull_request - opened
  0 siblings, 0 replies; only message in thread
From: GitHub pull_request - opened @ 2021-01-21 14:52 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-lib pull request #115 was opened from perexg:

It seems that the commit "pcm: ioplug: Transfer all available data"
introduced new regressions (wrong memory access). The second issue
is that the avail_update in ioplug does not move appl_ptr nor hw_ptr,
so it's possible that the transfers may be repetitive.

This patch moves the transfer calls to mmap_begin callback where it
should be. The pointer wraps are handled by design now.

Fixes: 1714332719 ("pcm: ioplug: Transfer all available data")
BugLink: https://github.com/alsa-project/alsa-lib/pull/103

Request URL   : https://github.com/alsa-project/alsa-lib/pull/115
Patch URL     : https://github.com/alsa-project/alsa-lib/pull/115.patch
Repository URL: https://github.com/alsa-project/alsa-lib

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-21 14:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1611240720891453028-webhooks-bot@alsa-project.org>
2021-01-21 14:52 ` pcm: pcm_ioplug - fix the avail_update mmap capture copy issue GitHub pull_request - opened

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.