aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@google.com>2019-04-08 17:08:58 +0800
committerMark Brown <broonie@kernel.org>2019-04-10 12:16:07 +0100
commitd6ba3f815bc5f3c4249d15c8bc5fbb012651b4a4 (patch)
treed4ceb4d3cf0108153b3725b91f4463e78fc8afac /sound
parentASoC: pcm: update module refcount if module_get_upon_open is set (diff)
downloadlinux-dev-d6ba3f815bc5f3c4249d15c8bc5fbb012651b4a4.tar.xz
linux-dev-d6ba3f815bc5f3c4249d15c8bc5fbb012651b4a4.zip
ASoC: Intel: kbl: fix wrong number of channels
Fix wrong setting on number of channels. The context wants to set constraint to 2 channels instead of 4. Signed-off-by: Tzung-Bi Shih <tzungbi@google.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c b/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
index 7044d8c2b187..879f14257a3e 100644
--- a/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
+++ b/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
@@ -405,7 +405,7 @@ static const struct snd_pcm_hw_constraint_list constraints_dmic_channels = {
};
static const unsigned int dmic_2ch[] = {
- 4,
+ 2,
};
static const struct snd_pcm_hw_constraint_list constraints_dmic_2ch = {