mirror of
https://github.com/torvalds/linux.git
synced 2024-09-21 07:23:06 +00:00
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>
This commit is contained in:
commit
4926a34b1b
|
@ -73,7 +73,7 @@ static int cvt_ump_system_to_legacy(u32 data, unsigned char *buf)
|
|||
case UMP_SYSTEM_STATUS_MIDI_TIME_CODE:
|
||||
case UMP_SYSTEM_STATUS_SONG_SELECT:
|
||||
buf[1] = (data >> 8) & 0x7f;
|
||||
return 1;
|
||||
return 2;
|
||||
case UMP_SYSTEM_STATUS_SONG_POSITION:
|
||||
buf[1] = (data >> 8) & 0x7f;
|
||||
buf[2] = data & 0x7f;
|
||||
|
|
Loading…
Reference in New Issue
Block a user