diff --git a/sound/firewire/dice/dice-tcelectronic.c b/sound/firewire/dice/dice-tcelectronic.c
index a4cbe2da8c158748bf2e6d123120cd9267494ee5..a8875d24ba2aa00aa1743dbde59c310af8ec310d 100644
--- a/sound/firewire/dice/dice-tcelectronic.c
+++ b/sound/firewire/dice/dice-tcelectronic.c
@@ -95,11 +95,9 @@ int snd_dice_detect_tcelectronic_formats(struct snd_dice *dice)
 	memcpy(dice->rx_pcm_chs, entry->spec->rx_pcm_chs,
 	       MAX_STREAMS * SND_DICE_RATE_MODE_COUNT * sizeof(unsigned int));
 
-	for (i = 0; i < MAX_STREAMS; ++i) {
-		if (entry->spec->has_midi) {
-			dice->tx_midi_ports[i] = 1;
-			dice->rx_midi_ports[i] = 1;
-		}
+	if (entry->spec->has_midi) {
+		dice->tx_midi_ports[0] = 1;
+		dice->rx_midi_ports[0] = 1;
 	}
 
 	return 0;