diff options
-rw-r--r-- | sound/core/seq/seq_midi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/core/seq/seq_midi.c b/sound/core/seq/seq_midi.c index 9caa1372bece..3b316da25eff 100644 --- a/sound/core/seq/seq_midi.c +++ b/sound/core/seq/seq_midi.c | |||
@@ -320,8 +320,8 @@ snd_seq_midisynth_register_port(struct snd_seq_device *dev) | |||
320 | } | 320 | } |
321 | client->seq_client = | 321 | client->seq_client = |
322 | snd_seq_create_kernel_client( | 322 | snd_seq_create_kernel_client( |
323 | card, 0, "%s", info->name[0] ? | 323 | card, 0, "%s", card->shortname[0] ? |
324 | (const char *)info->name : "External MIDI"); | 324 | (const char *)card->shortname : "External MIDI"); |
325 | if (client->seq_client < 0) { | 325 | if (client->seq_client < 0) { |
326 | kfree(client); | 326 | kfree(client); |
327 | mutex_unlock(®ister_mutex); | 327 | mutex_unlock(®ister_mutex); |