ASoC: omap-mcbsp: fix snd_pcm_hw_rule_add arguments
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 8 Mar 2012 14:55:31 +0000 (16:55 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Thu, 15 Mar 2012 21:39:35 +0000 (23:39 +0200)
We are setting SNDRV_PCM_HW_PARAM_BUFFER_SIZE based on
SNDRV_PCM_HW_PARAM_CHANNELS, not vice versa. This bug didn't
have much impact because the rules are evaluated multiple times
by the core, and intended value got set eventually.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>

No differences found