Skip to content

Commit 4926a34

Browse files
committed
Merge branch 'topic/midi20' into for-linus
Pull a typo fix in MIDI 2.0 helper code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2 parents a64db0b + 4eecae4 commit 4926a34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/core/ump_convert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ static int cvt_ump_system_to_legacy(u32 data, unsigned char *buf)
7373
case UMP_SYSTEM_STATUS_MIDI_TIME_CODE:
7474
case UMP_SYSTEM_STATUS_SONG_SELECT:
7575
buf[1] = (data >> 8) & 0x7f;
76-
return 1;
76+
return 2;
7777
case UMP_SYSTEM_STATUS_SONG_POSITION:
7878
buf[1] = (data >> 8) & 0x7f;
7979
buf[2] = data & 0x7f;

0 commit comments

Comments
 (0)