ASoC: Intel: kbl_rt5663_rt5514_max98927: Add dmic format constraint
authorYu-Hsuan Hsu <yuhsuan@chromium.org>
Mon, 23 Sep 2019 16:29:40 +0000 (00:29 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 11 Nov 2019 19:42:34 +0000 (19:42 +0000)
commite2db787bdcb4f2722ecf410168f0583764634e45
tree205e2ae14098d47a3f0b0f6aac74b73098103ee8
parent36da67630d3159e48e37a9f9b2d26ceece426482
ASoC: Intel: kbl_rt5663_rt5514_max98927: Add dmic format constraint

On KBL platform, the microphone is attached to external codec(rt5514)
instead of PCH. However, TDM slot between PCH and codec is 16 bits only.
In order to avoid setting wrong format, we should add a constraint to
force to use 16 bits format forever.

Signed-off-by: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190923162940.199580-1-yuhsuan@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c