12 Jul
2021
12 Jul
'21
11:12 a.m.
On Fri, 09 Jul 2021 10:53:42 +0200, Alan Young wrote:
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().
Signed-off-by: Alan Young consult.awy@gmail.com
A good catch. But unfortunately the posted patch couldn't be applied cleanly. Could you check your MUA setup and resubmit?
thanks,
Takashi