mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
ASoC: intel: sof_sdw: Move the builtin microphones to dataport 1
cs42l43 supports 4 hardwired microphones, but only supports up to 2 microphone headsets. Only dataport 1 can support 4 channel capture, but that is currently used for the headset microphone. Switch things around such that DP1 is used for the builtin mics and DP2 is used for the headset microphones. Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20231019173411.166759-5-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
d74bad3b74
commit
10626812b5
1 changed files with 6 additions and 6 deletions
|
@ -939,16 +939,16 @@ static struct sof_sdw_codec_info codec_info_list[] = {
|
|||
{
|
||||
.direction = {false, true},
|
||||
.dai_name = "cs42l43-dp1",
|
||||
.dai_type = SOF_SDW_DAI_TYPE_JACK,
|
||||
.dailink = {SDW_UNUSED_DAI_ID, SDW_JACK_IN_DAI_ID},
|
||||
.dai_type = SOF_SDW_DAI_TYPE_MIC,
|
||||
.dailink = {SDW_UNUSED_DAI_ID, SDW_DMIC_DAI_ID},
|
||||
.init = sof_sdw_cs42l43_dmic_init,
|
||||
},
|
||||
{
|
||||
.direction = {false, true},
|
||||
.dai_name = "cs42l43-dp2",
|
||||
.dai_type = SOF_SDW_DAI_TYPE_MIC,
|
||||
.dailink = {SDW_UNUSED_DAI_ID, SDW_DMIC_DAI_ID},
|
||||
.init = sof_sdw_cs42l43_dmic_init,
|
||||
}
|
||||
.dai_type = SOF_SDW_DAI_TYPE_JACK,
|
||||
.dailink = {SDW_UNUSED_DAI_ID, SDW_JACK_IN_DAI_ID},
|
||||
},
|
||||
},
|
||||
.dai_num = 3,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue