[PATCH] ALSA: core: Call substream ack() method upon compat mmap, commit
Alan Young
consult.awy at gmail.com
Mon Jul 12 12:05:40 CEST 2021
If a 32-bit application is being used with a 64-bit kernel and is using
the mmap mechanism to write data, then the SNDRV_PCM_IOCTL_SYNC_PTR
ioctl results in calling snd_pcm_ioctl_sync_ptr_compat(). Make this use
pcm_lib_apply_appl_ptr() so that the substream's ack() method, if
defined, is called.
The snd_pcm_sync_ptr() function, used in the 64-bit ioctl case, already
uses snd_pcm_ioctl_sync_ptr_compat().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ALSA-core-Call-substream-ack-method-upon-compat-mmap.patch
Type: text/x-patch
Size: 1638 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20210712/549fc747/attachment.bin>
More information about the Alsa-devel
mailing list