]> Git Repo - linux.git/commit
ALSA: rawmidi: introduce SNDRV_RAWMIDI_IOCTL_USER_PVERSION
authorJaroslav Kysela <[email protected]>
Mon, 20 Sep 2021 17:18:50 +0000 (19:18 +0200)
committerTakashi Iwai <[email protected]>
Thu, 23 Sep 2021 07:26:40 +0000 (09:26 +0200)
commit09d23174402da0f10e98da2c61bb5ac8e7d79fdd
tree78c146e0dbaf255b54bce95d56c990cbc8ad9e85
parentcb1bcf5ed536747013fe2b3f9bd56ce3242c295a
ALSA: rawmidi: introduce SNDRV_RAWMIDI_IOCTL_USER_PVERSION

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 <[email protected]>
Cc: <[email protected]>
Fixes: 08fdced60ca0 ("ALSA: rawmidi: Add framing mode")
BugLink: https://github.com/alsa-project/alsa-lib/issues/178
Signed-off-by: Jaroslav Kysela <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
include/sound/rawmidi.h
include/uapi/sound/asound.h
sound/core/rawmidi.c
This page took 0.056094 seconds and 4 git commands to generate.