Patch "ALSA: hda/hdmi: set default audio parameters for KAE silent-stream" has been added to the 6.1-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ALSA: hda/hdmi: set default audio parameters for KAE silent-stream

to the 6.1-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     alsa-hda-hdmi-set-default-audio-parameters-for-kae-s.patch
and it can be found in the queue-6.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 05a28b7937fec11fc35265ee5070e2d9316c1f6f
Author: Kai Vehmanen <kai.vehmanen@xxxxxxxxxxxxxxx>
Date:   Fri Dec 9 12:18:21 2022 +0200

    ALSA: hda/hdmi: set default audio parameters for KAE silent-stream
    
    [ Upstream commit b17e7ea041d8b565063632501ca4597afd105102 ]
    
    If the stream-id is zero, the keep-alive (KAE) will only ensure clock is
    generated, but no audio samples are sent over display link. This happens
    before first real audio stream is played out to a newly connected
    receiver.
    
    Reuse the code in silent_stream_enable() to set up stream parameters
    to sane defaults values, also when using the newer keep-alive flow.
    
    Fixes: 15175a4f2bbb ("ALSA: hda/hdmi: add keep-alive support for ADL-P and DG2")
    Signed-off-by: Kai Vehmanen <kai.vehmanen@xxxxxxxxxxxxxxx>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx>
    Tested-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
    Link: https://lore.kernel.org/r/20221209101822.3893675-3-kai.vehmanen@xxxxxxxxxxxxxxx
    Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index 35bef8fcd240..3ebe8260485b 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -1738,6 +1738,7 @@ static void silent_stream_enable(struct hda_codec *codec,
 
 	switch (spec->silent_stream_type) {
 	case SILENT_STREAM_KAE:
+		silent_stream_enable_i915(codec, per_pin);
 		silent_stream_set_kae(codec, per_pin, true);
 		break;
 	case SILENT_STREAM_I915:



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux