From: Grazvydas Ignotas Date: Thu, 8 Mar 2012 23:19:15 +0000 (+0200) Subject: ASoC: omap-mcbsp: fix snd_pcm_hw_rule_add arguments X-Git-Tag: v3.4-rc1~144^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94a504c2e059fb88f05ede6d614504779275b099;p=pandora-kernel.git ASoC: omap-mcbsp: fix snd_pcm_hw_rule_add arguments 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 Acked-by: Peter Ujfalusi Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed