[PATCH] ALSA: core: Call substream ack() method upon compat mmap, commit
Takashi Iwai
tiwai at suse.de
Mon Jul 12 11:12:28 CEST 2021
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 at 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
More information about the Alsa-devel
mailing list