From: Tzung-Bi Shih Date: Mon, 8 Apr 2019 09:08:58 +0000 (+0800) Subject: ASoC: Intel: kbl: fix wrong number of channels X-Git-Tag: v5.1-rc5~20^2^2~3 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d6ba3f815bc5f3c4249d15c8bc5fbb012651b4a4;p=uclinux-h8%2Flinux.git 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 Acked-by: Pierre-Louis Bossart Signed-off-by: Mark Brown --- 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 = {