aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorEmil Abildgaard Svendsen <[email protected]>2023-03-09 06:54:41 +0000
committerMark Brown <[email protected]>2023-03-09 13:45:31 +0000
commite041a2a550582106cba6a7c862c90dfc2ad14492 (patch)
treea90ee93a18794a81d3b719fbcd87d8ddcaab2714 /scripts/generate_rust_analyzer.py
parentaf0f46e5b9a462aaa1d76e82781a5316f03828eb (diff)
ASoC: hdmi-codec: only startup/shutdown on supported streams
Currently only one stream is supported. This isn't usally a problem until you have a multi codec audio card. Because the audio card will run startup and shutdown on both capture and playback streams. So if your hdmi-codec only support either playback or capture. Then ALSA can't open for playback and capture. This patch will ignore if startup and shutdown are called with a non supported stream. Thus, allowing an audio card like this: +-+ cpu1 <--@-| |-> codec1 (HDMI-CODEC) | |<- codec2 (NOT HDMI-CODEC) +-+ Signed-off-by: Emil Svendsen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions