ASoC: Intel: cht-bsw-rt5672: allow for topology-defined codec-dai setup
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 27 Apr 2018 21:36:00 +0000 (16:36 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 1 May 2018 20:52:22 +0000 (05:52 +0900)
commitbf14adcc4ddd101088237179bee6daa19bac1669
tree77e3c510b3a7c95b0a0491d7cc7a86f04d664246
parent9a67d11e34cc21afe2cbddaa8f50d2a5da098d6e
ASoC: Intel: cht-bsw-rt5672: allow for topology-defined codec-dai setup

Hard-coded setups conflict with topology defined ones. Move this code to
codec_fixup so that SOF can override codec dai settings, e.g. to only use
2 channels.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/cht_bsw_rt5672.c