diff options
author | Mac Chiang <mac.chiang@intel.com> | 2018-06-19 14:16:06 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-06-19 15:46:30 +0100 |
commit | 5fd46e649ee63259f2197625662477ac67a69e79 (patch) | |
tree | 14c38ea1339e6f1c638f97ae07bb87ee097acc58 /sound/soc/intel/boards | |
parent | f12a0a3c4cc6f594d7c2ea361f2396ae5c518d2c (diff) | |
download | linux-5fd46e649ee63259f2197625662477ac67a69e79.tar.bz2 |
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: Louis Collard <louiscollard@google.com>
Signed-off-by: Mac Chiang <mac.chiang@intel.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards')
-rw-r--r-- | sound/soc/intel/boards/kbl_da7219_max98357a.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/kbl_da7219_max98357a.c b/sound/soc/intel/boards/kbl_da7219_max98357a.c index 94294c27d1db..7961f1fd18bd 100644 --- a/sound/soc/intel/boards/kbl_da7219_max98357a.c +++ b/sound/soc/intel/boards/kbl_da7219_max98357a.c @@ -380,6 +380,7 @@ static struct snd_soc_dai_link kabylake_dais[] = { .trigger = { SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST}, .dpcm_capture = 1, + .ops = &kabylake_da7219_fe_ops, }, [KBL_DPCM_AUDIO_DMIC_CP] = { .name = "Kbl Audio DMIC cap", |