aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/firewire/oxfw/oxfw-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/oxfw/oxfw-stream.c b/sound/firewire/oxfw/oxfw-stream.c
index 48798084de16..7cb5743c073b 100644
--- a/sound/firewire/oxfw/oxfw-stream.c
+++ b/sound/firewire/oxfw/oxfw-stream.c
@@ -148,7 +148,7 @@ static int start_stream(struct snd_oxfw *oxfw, struct amdtp_stream *stream,
148 } 148 }
149 149
150 pcm_channels = formation.pcm; 150 pcm_channels = formation.pcm;
151 midi_ports = DIV_ROUND_UP(formation.midi, 8); 151 midi_ports = formation.midi * 8;
152 152
153 /* The stream should have one pcm channels at least */ 153 /* The stream should have one pcm channels at least */
154 if (pcm_channels == 0) { 154 if (pcm_channels == 0) {