Commit 5fd46e64 authored by Mac Chiang's avatar Mac Chiang Committed by Mark Brown

ASoC: Intel: kbl_da7219_max98357a: add fe_ops for kbl Audio Capture Port

platform support fixed constraint hw_prams as Stereo, 48KHz, 16 bits.
This fixed the headset mic recorded noise due to mono capturing
request from some apps. e.g. online Voice Recorder
Signed-off-by: default avatarLouis Collard <louiscollard@google.com>
Signed-off-by: default avatarMac Chiang <mac.chiang@intel.com>
Acked-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent f12a0a3c
...@@ -380,6 +380,7 @@ static struct snd_soc_dai_link kabylake_dais[] = { ...@@ -380,6 +380,7 @@ static struct snd_soc_dai_link kabylake_dais[] = {
.trigger = { .trigger = {
SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST}, SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},
.dpcm_capture = 1, .dpcm_capture = 1,
.ops = &kabylake_da7219_fe_ops,
}, },
[KBL_DPCM_AUDIO_DMIC_CP] = { [KBL_DPCM_AUDIO_DMIC_CP] = {
.name = "Kbl Audio DMIC cap", .name = "Kbl Audio DMIC cap",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment