瀏覽代碼

ASoC: Intel: Kbl: Add Playback DAI for fixup

'Kbl Audio Headset Playback' FE DAI also needs SSP hw param fix.
Add this dai also to be handled in kabylake_ssp_fixup() call.

Signed-off-by: Harsha Priya <harshapriya.n@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Harsha Priya N 8 年之前
父節點
當前提交
4b2b915f88
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c

+ 1 - 0
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c

@@ -302,6 +302,7 @@ static int kabylake_ssp_fixup(struct snd_soc_pcm_runtime *rtd,
 	 * The ADSP will convert the FE rate to 48k, stereo, 24 bit
 	 */
 	if (!strcmp(fe_dai_link->name, "Kbl Audio Port") ||
+	    !strcmp(fe_dai_link->name, "Kbl Audio Headset Playback") ||
 	    !strcmp(fe_dai_link->name, "Kbl Audio Capture Port")) {
 		rate->min = rate->max = 48000;
 		channels->min = channels->max = 2;