Skip to contentSkip to conversation

ASoC: Intel: Kabylake machine driver changes for a FE DAI

PATCH In review Harsha Priya 3 participants 3 messages Sep 26, 2017 – Sep 27, 2017

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

PATCH 1/1 ASoC: Intel: Kabylake machine driver changes for a FE DAI

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

---
 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
#1 lore raw

On Tue, Sep 26, 2017 at 02:42:02PM -0700, Harsha Priya wrote:

Sorry the title is not very clear

Consider:

ASoC: Intel: Kbl: Add Playback DAI for fixup

Quoted 2 lines

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

/s/Adding/Add

Quoted 25 lines
---
 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 · 6 lines
1.9.1

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Signature · 1 line
~Vinod
maintainer
#2 lore raw

Applied "ASoC: Intel: Kbl: Add Playback DAI for fixup" to the asoc tree

In reply to Harsha Priya

The patch

ASoC: Intel: Kbl: Add Playback DAI for fixup

has been applied to the asoc tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From 4b2b915f8887e5602a98b1da4fcb7c41c573cb13 Mon Sep 17 00:00:00 2001

From: Harsha Priya N <[email protected]>
Date: Tue, 26 Sep 2017 22:35:13 -0700
Subject: [PATCH] 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.

---
 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 88ff54220007..e7672831bc49 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
2.14.1