[PATCH v2] ALSA: rawmidi: introduce SNDRV_RAWMIDI_IOCTL_USER_PVERSION

Takashi Iwai tiwai at suse.de
Thu Sep 23 09:27:07 CEST 2021


On Mon, 20 Sep 2021 19:18:50 +0200,
Jaroslav Kysela wrote:
> 
> The new framing mode causes the user space regression, because
> the alsa-lib code does not initialize the reserved space in
> the params structure when the device is opened.
> 
> This change adds SNDRV_RAWMIDI_IOCTL_USER_PVERSION like we
> do for the PCM interface for the protocol acknowledgment.
> 
> Cc: David Henningsson <coding at diwic.se>
> Cc: <stable at vger.kernel.org>
> Fixes: 08fdced60ca0 ("ALSA: rawmidi: Add framing mode")
> BugLink: https://github.com/alsa-project/alsa-lib/issues/178
> Signed-off-by: Jaroslav Kysela <perex at perex.cz>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list