]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - sound/soc/bcm/bcm2835-i2s.c
ASoC: bcm2835_i2s.c: relax the ch2 register setting for 8 channels
[mirror_ubuntu-artful-kernel.git] / sound / soc / bcm / bcm2835-i2s.c
index 6ba20498202ed36906b52096893a88867a79269f..56df7d8a43d0aac055a91b0d24aca8e1b4e308e4 100644 (file)
@@ -312,6 +312,7 @@ static int bcm2835_i2s_hw_params(struct snd_pcm_substream *substream,
 
        switch (params_channels(params)) {
        case 2:
+       case 8:
                format = BCM2835_I2S_CH1(format) | BCM2835_I2S_CH2(format);
                format |= BCM2835_I2S_CH1(BCM2835_I2S_CHPOS(ch1pos));
                format |= BCM2835_I2S_CH2(BCM2835_I2S_CHPOS(ch2pos));