Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions arch/arm64/configs/mt_connect_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,8 @@ CONFIG_DRM=y
CONFIG_SOUND=y
CONFIG_SND=y
CONFIG_SND_ALOOP=m
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_MIDI=y
Comment thread
dnappier-mt marked this conversation as resolved.
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_SOC=y
CONFIG_SND_SOC_FSL_ASRC=m
Expand Down
3 changes: 2 additions & 1 deletion drivers/usb/gadget/function/f_midi.c
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,8 @@ static int f_midi_register_card(struct f_midi *midi)

strcpy(card->driver, f_midi_longname);
strcpy(card->longname, f_midi_longname);
strcpy(card->shortname, f_midi_shortname);
strlcpy(card->shortname, midi->id ? midi->id : f_midi_shortname,
sizeof(card->shortname));
Comment thread
dnappier-mt marked this conversation as resolved.

/* Set up rawmidi */
snd_component_add(card, "MIDI");
Expand Down