Merge remote-tracking branch 'sound-asoc/for-next'
[deliverable/linux.git] / sound / soc / davinci / davinci-mcasp.c
index 05c2d33aa74dd9273100c9e8edf1b00bb57d8e35..3c5a9804d3f5edc259b25bd129b40918fe80197b 100644 (file)
@@ -1218,7 +1218,7 @@ static int davinci_mcasp_hw_rule_format(struct snd_pcm_hw_params *params,
 
        snd_mask_none(&nfmt);
 
-       for (i = 0; i < SNDRV_PCM_FORMAT_LAST; i++) {
+       for (i = 0; i <= SNDRV_PCM_FORMAT_LAST; i++) {
                if (snd_mask_test(fmt, i)) {
                        uint sbits = snd_pcm_format_width(i);
                        int ppm;
This page took 0.051044 seconds and 5 git commands to generate.