diff options
author | Kai Vehmanen <kai.vehmanen@linux.intel.com> | 2022-12-09 12:18:21 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-12-09 12:06:14 +0100 |
commit | b17e7ea041d8b565063632501ca4597afd105102 (patch) | |
tree | 35cd441ad156bc94a91f9f6bffd7b77b067ff325 /include/sound | |
parent | ada261b690ecd5c2f55f0c51bdf11d852a4561a6 (diff) |
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: 15175a4f2bbb ("ALSA: hda/hdmi: add keep-alive support for ADL-P and DG2")
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tested-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/20221209101822.3893675-3-kai.vehmanen@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions