]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - sound/firewire/oxfw/oxfw-stream.c
Merge remote-tracking branch 'arm-soc/for-next'
[karo-tx-linux.git] / sound / firewire / oxfw / oxfw-stream.c
index 48798084de16a83bf146b9450e6024022e18f23d..7cb5743c073bbed3f88d2452b6b6a7047f7619f3 100644 (file)
@@ -148,7 +148,7 @@ static int start_stream(struct snd_oxfw *oxfw, struct amdtp_stream *stream,
        }
 
        pcm_channels = formation.pcm;
-       midi_ports = DIV_ROUND_UP(formation.midi, 8);
+       midi_ports = formation.midi * 8;
 
        /* The stream should have one pcm channels at least */
        if (pcm_channels == 0) {