[PATCH] ALSA: hda/tegra: set depop delay for tegra

Mohan Kumar posted 1 patch 3 years, 6 months ago
sound/pci/hda/patch_hdmi.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] ALSA: hda/tegra: set depop delay for tegra
Posted by Mohan Kumar 3 years, 6 months ago
Reduce the suspend time by setting depop delay to 10ms for
tegra.

Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
---
 sound/pci/hda/patch_hdmi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index 6c209cd26c0c..acaf6b790ee1 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -3984,6 +3984,7 @@ static int tegra_hdmi_init(struct hda_codec *codec)
 
 	generic_hdmi_init_per_pins(codec);
 
+	codec->depop_delay = 10;
 	codec->patch_ops.build_pcms = tegra_hdmi_build_pcms;
 	spec->chmap.ops.chmap_cea_alloc_validate_get_type =
 		nvhdmi_chmap_cea_alloc_validate_get_type;
-- 
2.17.1
Re: [PATCH] ALSA: hda/tegra: set depop delay for tegra
Posted by Takashi Iwai 3 years, 6 months ago
On Tue, 13 Sep 2022 07:36:41 +0200,
Mohan Kumar wrote:
> 
> Reduce the suspend time by setting depop delay to 10ms for
> tegra.
> 
> Signed-off-by: Mohan Kumar <mkumard@nvidia.com>

Applied now, thanks.


Takashi