]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - queue-4.19/asoc-intel-kbl-fix-wrong-number-of-channels.patch
Linux 4.14.118
[thirdparty/kernel/stable-queue.git] / queue-4.19 / asoc-intel-kbl-fix-wrong-number-of-channels.patch
1 From 70384f392c10a7f81790b8e979a2d0b25807fd68 Mon Sep 17 00:00:00 2001
2 From: Tzung-Bi Shih <tzungbi@google.com>
3 Date: Mon, 8 Apr 2019 17:08:58 +0800
4 Subject: ASoC: Intel: kbl: fix wrong number of channels
5
6 [ Upstream commit d6ba3f815bc5f3c4249d15c8bc5fbb012651b4a4 ]
7
8 Fix wrong setting on number of channels. The context wants to set
9 constraint to 2 channels instead of 4.
10
11 Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
12 Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
13 Signed-off-by: Mark Brown <broonie@kernel.org>
14 Signed-off-by: Sasha Levin <sashal@kernel.org>
15 ---
16 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19 diff --git a/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c b/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
20 index a892b37eab7c9..b8a03f58ac8cc 100644
21 --- a/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
22 +++ b/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
23 @@ -406,7 +406,7 @@ static const struct snd_pcm_hw_constraint_list constraints_dmic_channels = {
24 };
25
26 static const unsigned int dmic_2ch[] = {
27 - 4,
28 + 2,
29 };
30
31 static const struct snd_pcm_hw_constraint_list constraints_dmic_2ch = {
32 --
33 2.20.1
34