Skip to content

Commit b17e7ea

Browse files
kv2019itiwai
authored andcommitted
ALSA: hda/hdmi: set default audio parameters for KAE silent-stream
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: 15175a4 ("ALSA: hda/hdmi: add keep-alive support for ADL-P and DG2") Signed-off-by: Kai Vehmanen <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Tested-by: Rodrigo Vivi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent ada261b commit b17e7ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/pci/hda/patch_hdmi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,6 +1738,7 @@ static void silent_stream_enable(struct hda_codec *codec,
17381738

17391739
switch (spec->silent_stream_type) {
17401740
case SILENT_STREAM_KAE:
1741+
silent_stream_enable_i915(codec, per_pin);
17411742
silent_stream_set_kae(codec, per_pin, true);
17421743
break;
17431744
case SILENT_STREAM_I915:

0 commit comments

Comments
 (0)