]> git.itanic.dy.fi Git - linux-stable/commitdiff
ALSA: hda/tegra: set depop delay for tegra
authorMohan Kumar <mkumard@nvidia.com>
Tue, 13 Sep 2022 05:36:41 +0000 (11:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Sep 2022 08:56:50 +0000 (10:56 +0200)
commit 3c4d8c24fb6c44f426e447b04800b0ed61a7b5ae upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_hdmi.c

index f7b5f980455afc841e98a84bf13e4fa51acfac29..d89c0a9982d163ec96dd28004c5ad799f2342efd 100644 (file)
@@ -3422,6 +3422,7 @@ static int patch_tegra_hdmi(struct hda_codec *codec)
        if (err)
                return err;
 
+       codec->depop_delay = 10;
        codec->patch_ops.build_pcms = tegra_hdmi_build_pcms;
        spec = codec->spec;
        spec->chmap.ops.chmap_cea_alloc_validate_get_type =