提交 4e36ec70 编写于 作者: T Tzung-Bi Shih 提交者: Xie XiuQi

ASoC: Intel: kbl: fix wrong number of channels

[ Upstream commit d6ba3f81 ]

Fix wrong setting on number of channels.  The context wants to set
constraint to 2 channels instead of 4.
Signed-off-by: NTzung-Bi Shih <tzungbi@google.com>
Acked-by: NPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 0da3d08b
...@@ -406,7 +406,7 @@ static const struct snd_pcm_hw_constraint_list constraints_dmic_channels = { ...@@ -406,7 +406,7 @@ static const struct snd_pcm_hw_constraint_list constraints_dmic_channels = {
}; };
static const unsigned int dmic_2ch[] = { static const unsigned int dmic_2ch[] = {
4, 2,
}; };
static const struct snd_pcm_hw_constraint_list constraints_dmic_2ch = { static const struct snd_pcm_hw_constraint_list constraints_dmic_2ch = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册