diff mbox series

ASoC: Intel: kbl: fix wrong number of channels

Message ID 20190408090858.261269-1-tzungbi@google.com (mailing list archive)
State Accepted
Commit f91ac502d77725ac55f7331e8ab29cafd0ec932b
Headers show
Series ASoC: Intel: kbl: fix wrong number of channels | expand

Commit Message

Tzung-Bi Shih April 8, 2019, 9:08 a.m. UTC
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>
---
 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Pierre-Louis Bossart April 8, 2019, 1:03 p.m. UTC | #1
On 4/8/19 4:08 AM, Tzung-Bi Shih wrote:
> 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>


> ---
>   sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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 = {
>
diff mbox series

Patch

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 = {