ASoC: Intel: kbl: Modify Headset map for Multi-Playback
Subsystems (3)
PATCH 1/1 ASoC: Intel: kbl: Modify Headset map for Multi-Playback
Current topology for Headset resulted in unwanted pop noise, while switching from spk->hs at the start of Headset Playback. Modified topology to fix the same.
This modification also requires headset route to be updated.
--- sound/soc/intel/boards/kbl_rt5663_max98927.c | 2 +- sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
sound/soc/intel/boards/kbl_rt5663_max98927.c +1 -1
@@ -101,7 +101,7 @@ enum { { "ssp0 Tx", NULL, "spk_out" }, { "AIF Playback", NULL, "ssp1 Tx" }, - { "ssp1 Tx", NULL, "hs_out" }, + { "ssp1 Tx", NULL, "codec1_out" }, { "hs_in", NULL, "ssp1 Rx" }, { "ssp1 Rx", NULL, "AIF Capture" },
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c +1 -1
@@ -109,7 +109,7 @@ enum { { "ssp0 Tx", NULL, "spk_out" }, { "AIF Playback", NULL, "ssp1 Tx" }, - { "ssp1 Tx", NULL, "hs_out" }, + { "ssp1 Tx", NULL, "codec1_out" }, { "hs_in", NULL, "ssp1 Rx" }, { "ssp1 Rx", NULL, "AIF Capture" },
Signature · 1 line
1.9.1
Quoted 2 lines · Naveen Manohar
Current topology for Headset resulted in unwanted pop noise, while switching from
spk->hsat the start of Headset Playback.
what is the reason for the pop ?
Quoted 1 line
Modified topology to fix the same.
how does that fix it, sorry am quite unclear about that part
Quoted 1 line
This modification also requires headset route to be updated.
that seems to be the only change here, so not sure I follow the changes dont for this
Quoted 37 lines
Signed-off-by Naveen Manohar <[email protected]>Signed-off-by Sathya Prakash M R <[email protected]>--- sound/soc/intel/boards/kbl_rt5663_max98927.c | 2 +- sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)sound/soc/intel/boards/kbl_rt5663_max98927.c +1
-1@@ -101,7 +101,7 @@ enum { { "ssp0 Tx", NULL, "spk_out" }, { "AIF Playback", NULL, "ssp1 Tx" }, - { "ssp1 Tx", NULL, "hs_out" }, + { "ssp1 Tx", NULL, "codec1_out" }, { "hs_in", NULL, "ssp1 Rx" }, { "ssp1 Rx", NULL, "AIF Capture" },sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c +1
-1@@ -109,7 +109,7 @@ enum { { "ssp0 Tx", NULL, "spk_out" }, { "AIF Playback", NULL, "ssp1 Tx" }, - { "ssp1 Tx", NULL, "hs_out" }, + { "ssp1 Tx", NULL, "codec1_out" }, { "hs_in", NULL, "ssp1 Rx" }, { "ssp1 Rx", NULL, "AIF Capture" },Signature · 1 line
1.9.1
Signature · 1 line
~Vinod
Quoted 6 lines · Vinod Koul
Quoted 2 lines · Naveen Manohar
Current topology for Headset resulted in unwanted pop noise, while switching from
spk->hsat the start of Headset Playback.what is the reason for the pop ?
There is an artifact observed at the start of the stream, which is not seen earlier with mixin-mixout dsp module, through which data was passing-through.
Quoted 4 lines
Quoted 1 line
Modified topology to fix the same.
how does that fix it, sorry am quite unclear about that part
Only for headset playback pipe, we re-introduced the mixin-mixout which was there earlier. This does not fix the problem but removes regression (pop-noise in headset playback) introduced by earlier commit-ID:0b06122fc8d0949a0aa7b817d98e031104802611
Quoted 5 lines
Quoted 1 line
This modification also requires headset route to be updated.
that seems to be the only change here, so not sure I follow the changes dont for this
As the topology was modified to earlier path, earlier route change was reverted for headset playback.
Quoted 40 lines
Quoted 37 lines
Signed-off-by Naveen Manohar <[email protected]>Signed-off-by Sathya Prakash M R <[email protected]>--- sound/soc/intel/boards/kbl_rt5663_max98927.c | 2 +- sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)sound/soc/intel/boards/kbl_rt5663_max98927.c +1
-1@@ -101,7 +101,7 @@ enum { { "ssp0 Tx", NULL, "spk_out" }, { "AIF Playback", NULL, "ssp1 Tx" }, - { "ssp1 Tx", NULL, "hs_out" }, + { "ssp1 Tx", NULL, "codec1_out" }, { "hs_in", NULL, "ssp1 Rx" }, { "ssp1 Rx", NULL, "AIF Capture" },sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c +1
-1@@ -109,7 +109,7 @@ enum { { "ssp0 Tx", NULL, "spk_out" }, { "AIF Playback", NULL, "ssp1 Tx" }, - { "ssp1 Tx", NULL, "hs_out" }, + { "ssp1 Tx", NULL, "codec1_out" }, { "hs_in", NULL, "ssp1 Rx" }, { "ssp1 Rx", NULL, "AIF Capture" },Signature · 1 line
1.9.1Signature · 1 line
~Vinod
Signature · 4 lines
_______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 6 lines · Vinod Koul
Quoted 2 lines · Naveen Manohar
Current topology for Headset resulted in unwanted pop noise, while switching from
spk->hsat the start of Headset Playback.what is the reason for the pop ?
There is an artifact observed at the start of the stream, which is not seen earlier with mixin-mixout dsp module, through which data was passing-through.
Quoted 4 lines
Quoted 1 line
Modified topology to fix the same.
how does that fix it, sorry am quite unclear about that part
Only for headset playback pipe, we re-introduced the mixin-mixout which was there earlier. This does not fix the problem but removes regression (pop-noise in headset playback) introduced by earlier commit-ID:0b06122fc8d0949a0aa7b817d98e031104802611
Quoted 5 lines
Quoted 1 line
This modification also requires headset route to be updated.
that seems to be the only change here, so not sure I follow the changes dont for this
As the topology was modified to earlier path, earlier route change was reverted for headset playback.
Quoted 40 lines
Quoted 37 lines
Signed-off-by Naveen Manohar <[email protected]>Signed-off-by Sathya Prakash M R <[email protected]>--- sound/soc/intel/boards/kbl_rt5663_max98927.c | 2 +- sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)sound/soc/intel/boards/kbl_rt5663_max98927.c +1
-1@@ -101,7 +101,7 @@ enum { { "ssp0 Tx", NULL, "spk_out" }, { "AIF Playback", NULL, "ssp1 Tx" }, - { "ssp1 Tx", NULL, "hs_out" }, + { "ssp1 Tx", NULL, "codec1_out" }, { "hs_in", NULL, "ssp1 Rx" }, { "ssp1 Rx", NULL, "AIF Capture" },sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c +1
-1@@ -109,7 +109,7 @@ enum { { "ssp0 Tx", NULL, "spk_out" }, { "AIF Playback", NULL, "ssp1 Tx" }, - { "ssp1 Tx", NULL, "hs_out" }, + { "ssp1 Tx", NULL, "codec1_out" }, { "hs_in", NULL, "ssp1 Rx" }, { "ssp1 Rx", NULL, "AIF Capture" },Signature · 1 line
1.9.1Signature · 1 line
~Vinod
Quoted 11 lines · Naveen M
Quoted 6 lines · Vinod Koul
Quoted 2 lines · Naveen Manohar
Current topology for Headset resulted in unwanted pop noise, while switching from
spk->hsat the start of Headset Playback.what is the reason for the pop ?
There is an artifact observed at the start of the stream, which is not seen earlier with mixin-mixout dsp module, through which data was passing-through.
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Modified topology to fix the same.
how does that fix it, sorry am quite unclear about that part
Only for headset playback pipe, we re-introduced the mixin-mixout which was there earlier. This does not fix the problem but removes regression (pop-noise in headset playback) introduced by earlier commit-ID:0b06122fc8d0949a0aa7b817d98e031104802611
Then please mention that in the log. IIUC you should say it fixes the wrong path in commit 0b06122fc8d0 ("ASoC: Intel: kbl: Add map for new DAIs for Multi-Playback & Echo Ref") which resulted in pop noise.
Quoted 51 lines
Quoted 6 lines
Quoted 2 lines
This modification also requires headset route to be updated.
that seems to be the only change here, so not sure I follow the changes dont for this
As the topology was modified to earlier path, earlier route change was reverted for headset playback.
Quoted 40 lines
Quoted 37 lines
Signed-off-by Naveen Manohar <[email protected]>Signed-off-by Sathya Prakash M R <[email protected]>--- sound/soc/intel/boards/kbl_rt5663_max98927.c | 2 +- sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)sound/soc/intel/boards/kbl_rt5663_max98927.c +1
-1@@ -101,7 +101,7 @@ enum { { "ssp0 Tx", NULL, "spk_out" }, { "AIF Playback", NULL, "ssp1 Tx" }, - { "ssp1 Tx", NULL, "hs_out" }, + { "ssp1 Tx", NULL, "codec1_out" }, { "hs_in", NULL, "ssp1 Rx" }, { "ssp1 Rx", NULL, "AIF Capture" },sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c +1
-1@@ -109,7 +109,7 @@ enum { { "ssp0 Tx", NULL, "spk_out" }, { "AIF Playback", NULL, "ssp1 Tx" }, - { "ssp1 Tx", NULL, "hs_out" }, + { "ssp1 Tx", NULL, "codec1_out" }, { "hs_in", NULL, "ssp1 Rx" }, { "ssp1 Rx", NULL, "AIF Capture" },Signature · 1 line
1.9.1Signature · 1 line
~Vinod
Signature · 1 line
~Vinod
Mark Brown
maintainerApplied "ASoC: Intel: kbl: Modify map for Headset Playback to fix pop-noise" to the asoc tree
In reply to Naveen ManoharThe patch
ASoC: Intel: kbl: Modify map for Headset Playback to fix pop-noise
has been applied to the asoc tree at
https://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
4c761ebfcb2d04ee36783c4c8c45ae00caf59d36Mon Sep 17 00:00:00 2001
From: Naveen Manohar <[email protected]>
Date: Fri, 3 Nov 2017 19:15:02 +0530
Subject: [PATCH] ASoC: Intel: kbl: Modify map for Headset Playback to fix
pop-noise
Patch fixes wrong path in commit 0b06122fc8d0 ("ASoC: Intel: kbl: Add map for new DAIs for Multi-Playback & Echo Ref") which resulted in pop noise.
Current topology for Headset results in unwanted pop noise, while switching from spk->hs at the start of Headset Playback. Hence re-introduced mixin-mixout dsp module in topology for headset playback pipe to fix the regression.
And the corresponding modification for headset route is updated here.
Multi-Playback & Echo Ref")
--- sound/soc/intel/boards/kbl_rt5663_max98927.c | 2 +- sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
sound/soc/intel/boards/kbl_rt5663_max98927.c +1 -1
@@ -101,7 +101,7 @@ static const struct snd_soc_dapm_route kabylake_map[] = { { "ssp0 Tx", NULL, "spk_out" }, { "AIF Playback", NULL, "ssp1 Tx" }, - { "ssp1 Tx", NULL, "hs_out" }, + { "ssp1 Tx", NULL, "codec1_out" }, { "hs_in", NULL, "ssp1 Rx" }, { "ssp1 Rx", NULL, "AIF Capture" },
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c +1 -1
@@ -109,7 +109,7 @@ static const struct snd_soc_dapm_route kabylake_map[] = { { "ssp0 Tx", NULL, "spk_out" }, { "AIF Playback", NULL, "ssp1 Tx" }, - { "ssp1 Tx", NULL, "hs_out" }, + { "ssp1 Tx", NULL, "codec1_out" }, { "hs_in", NULL, "ssp1 Rx" }, { "ssp1 Rx", NULL, "AIF Capture" },
Signature · 1 line
2.14.1