diff options
| author | Amadeusz Sławiński <[email protected]> | 2024-01-12 12:33:49 +0100 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2024-01-12 17:47:23 +0100 |
| commit | 454abb80e26ab85323a30e52aa7b0ee9aae1d38a (patch) | |
| tree | b9ab7c1cd3e9d238d314671ceb8ffb2948f16255 /lib/test_fortify/write_overflow-strlcpy-src.c | |
| parent | a03cfad512ac24a35184d7d87ec0d5489e1cb763 (diff) | |
ALSA: hda: Properly setup HDMI stream
Since commit 4005d1ba0a7e ("ASoC: soc-dai: don't call PCM audio ops if
the stream is not supported") HDMI playback is broken with avs driver.
This happens because for HDMI stream (unlike generic HDA one)
channels_min for stream is not set when creating PCMs. Fix this by
setting the value based on first available converter.
Fixes: 4005d1ba0a7e ("ASoC: soc-dai: don't call PCM audio ops if the stream is not supported")
Signed-off-by: Amadeusz Sławiński <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions