git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deb2607
)
ASoC: check channel mismatch between cpu_dai and codec_dai
author
Lu Guanqun
<guanqun.lu@intel.com>
Wed, 6 Apr 2011 15:25:11 +0000
(23:25 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 6 Apr 2011 23:25:45 +0000
(08:25 +0900)
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>
sound/soc/soc-core.c
patch
|
blob
|
history
diff --cc
sound/soc/soc-core.c
Simple merge