Amadeusz Sławiński 454abb80e2 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 <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20240112113349.2905328-1-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2024-01-12 17:47:23 +01:00
..
2023-10-18 14:43:21 -07:00
2023-12-18 09:16:34 +01:00
2022-05-23 09:48:29 +02:00
2024-01-12 17:47:23 +01:00
2021-09-07 07:13:19 +02:00
2022-06-30 10:56:27 +01:00
2023-05-22 16:43:47 +02:00