diff options
| author | Takashi Iwai <tiwai@suse.de> | 2024-05-31 14:37:17 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-27 13:49:05 +0200 |
| commit | b89c2c56a01097243f38ae3c9d0d83efb0682ad8 (patch) | |
| tree | 834ce6db319edfd4f3a1aef410ea1d4e795b0f73 /sound/core | |
| parent | ff27bd8e17884f7cdefecb3f3817caadd6813dc0 (diff) | |
| download | linux-b89c2c56a01097243f38ae3c9d0d83efb0682ad8.tar.gz linux-b89c2c56a01097243f38ae3c9d0d83efb0682ad8.tar.bz2 linux-b89c2c56a01097243f38ae3c9d0d83efb0682ad8.zip | |
ALSA: seq: ump: Fix missing System Reset message handling
[ Upstream commit 55fac50ea46f46a22a92e2139b92afaa3822ad19 ]
The conversion from System Reset event to UMP was missing.
Add the entry for a conversion to a proper UMP System message.
Fixes: e9e02819a98a ("ALSA: seq: Automatic conversion of UMP events")
Link: https://lore.kernel.org/r/20240531123718.13420-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/core')
| -rw-r--r-- | sound/core/seq/seq_ump_convert.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/core/seq/seq_ump_convert.c b/sound/core/seq/seq_ump_convert.c index 171fb75267af..d81f776a4c3d 100644 --- a/sound/core/seq/seq_ump_convert.c +++ b/sound/core/seq/seq_ump_convert.c @@ -1075,6 +1075,8 @@ static const struct seq_ev_to_ump seq_ev_ump_encoders[] = { system_ev_to_ump_midi1, system_ev_to_ump_midi2 }, { SNDRV_SEQ_EVENT_SENSING, UMP_SYSTEM_STATUS_ACTIVE_SENSING, system_ev_to_ump_midi1, system_ev_to_ump_midi2 }, + { SNDRV_SEQ_EVENT_RESET, UMP_SYSTEM_STATUS_RESET, + system_ev_to_ump_midi1, system_ev_to_ump_midi2 }, }; static const struct seq_ev_to_ump *find_ump_encoder(int type) |
