OSDN Git Service

ALSA: hda/tegra: set depop delay for tegra
authorMohan Kumar <mkumard@nvidia.com>
Tue, 13 Sep 2022 05:36:41 +0000 (11:06 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Sep 2022 05:54:02 +0000 (07:54 +0200)
Reduce the suspend time by setting depop delay to 10ms for
tegra.

Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220913053641.23299-1-mkumard@nvidia.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c

index 6c209cd..acaf6b7 100644 (file)
@@ -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;