Files
linux/sound/soc/codecs
Emil Abildgaard Svendsen e041a2a550 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 <emas@bang-olufsen.dk>
Link: https://lore.kernel.org/r/20230309065432.4150700-2-emas@bang-olufsen.dk
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-09 13:45:31 +00:00
..
2022-08-16 12:46:26 +02:00
2021-04-20 17:25:51 +01:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2022-06-27 18:27:03 +01:00
2023-01-31 12:10:50 +00:00
2023-01-26 17:42:36 +00:00
2022-07-11 15:51:01 +01:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2021-03-31 18:00:38 +01:00
2023-01-31 11:04:55 +00:00
2022-06-06 12:33:10 +01:00
2023-02-28 13:59:56 +00:00
2023-01-31 11:04:56 +00:00
2018-04-26 12:44:15 +01:00
2022-07-13 13:48:56 +01:00
2022-10-19 16:37:01 +01:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2023-01-31 11:04:57 +00:00
2023-01-31 11:04:57 +00:00
2023-01-31 11:04:57 +00:00
2023-01-31 11:04:57 +00:00
2023-01-31 11:04:57 +00:00
2020-05-07 13:18:04 +01:00
2022-10-13 13:01:32 +01:00
2022-10-13 13:01:32 +01:00
2023-01-31 11:04:57 +00:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2023-01-31 11:04:57 +00:00
2022-08-16 12:46:26 +02:00
2023-01-31 11:04:57 +00:00
2023-01-31 11:04:57 +00:00
2022-08-16 12:46:26 +02:00
2023-01-31 11:04:57 +00:00
2023-01-31 11:04:57 +00:00
2022-08-16 12:46:26 +02:00
2021-12-06 10:04:05 +01:00
2022-11-29 12:55:51 +00:00
2022-07-08 11:52:42 +01:00
2021-12-06 10:04:05 +01:00
2018-06-01 12:05:30 +01:00
2022-08-15 01:20:01 +01:00
2020-07-20 15:34:29 +01:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2020-10-02 21:05:29 +01:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2022-12-12 15:44:24 +00:00
2022-08-16 12:46:26 +02:00
2022-07-11 15:51:01 +01:00
2022-08-16 12:46:26 +02:00