diff options
author | Lu Guanqun <guanqun.lu@intel.com> | 2011-04-06 23:25:11 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-04-07 08:25:45 +0900 |
commit | b04cfcf70b35e032071a6b482273cc642675c8e4 (patch) | |
tree | 417d9fb51e846a7b6bcff22157be33509b422d19 /sound/oss | |
parent | deb2607e6c3d75c7185bb8aba658d9cd57e6e54a (diff) | |
download | linux-b04cfcf70b35e032071a6b482273cc642675c8e4.tar.bz2 |
ASoC: check channel mismatch between cpu_dai and codec_dai
Suppose we have:
cpu_dai
channels_min = 1
channels_max = 1
codec_dai
channels_min = 2
channels_max = 2
This is a mismatch that should not happen, however according to the current
code, the result of runtime->hw will be:
channels_min = 2
channels_max = 1
We better spot it early. This patch checks this mismatch.
Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/oss')
0 files changed, 0 insertions, 0 deletions