mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 05:44:11 +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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue