Skip to contentSkip to conversation

ASoC: Intel: Kbl: Add Playback DAI for fixup

PATCH In review Harsha Priya 2 participants 2 messages Sep 27, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

---
v2: change patch title and log

 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c +1 -0
index 88ff542..e767283 100644
@@ -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;
Signature · 1 line
1.9.1
Acked-by on v2 1/1
#1 lore raw
Quoted 2 lines · Harsha Priya

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

Quoted 22 lines

---
v2: change patch title and log

 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c +1 -0
index 88ff542..e767283 100644
@@ -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;
Signature · 1 line
1.9.1
Signature · 1 line
~Vinod