linux-stable/sound/soc
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
..
adi
amd ASoC: Fixes for v6.3 2023-03-03 14:21:13 +01:00
apple ASoC: apple: mca: Improve handling of unavailable DMA channels 2023-02-24 16:31:20 +00:00
atmel ASoC: mchp-pdmc: fix poc noises when starting 2023-02-28 17:59:15 +00:00
au1x
bcm
cirrus sound updates for 6.3-rc1 2023-02-22 10:29:05 -08:00
codecs ASoC: hdmi-codec: only startup/shutdown on supported streams 2023-03-09 13:45:31 +00:00
dwc
fsl ASoC: clarify that SND_SOC_IMX_SGTL5000 is the old driver 2023-03-05 23:36:36 +00:00
generic
hisilicon
img
intel ASoC: Intel: soc-acpi: fix copy-paste issue in topology names 2023-03-07 13:57:57 +00:00
jz4740
kirkwood
mediatek ASoC: mediatek: mt8195: add missing initialization 2023-03-01 14:49:17 +00:00
meson
mxs
pxa - Daniel Verkamp has contributed a memfd series ("mm/memfd: add 2023-02-23 17:09:35 -08:00
qcom ASoC: qcom: q6prm: fix incorrect clk_root passed to ADSP 2023-03-05 23:36:37 +00:00
rockchip
samsung sound updates for 6.3-rc1 2023-02-22 10:29:05 -08:00
sh ASoC: rsnd: adg: Fix BRG typos 2023-02-16 13:11:35 +00:00
sof SoC: SOF: Intel: FIx device descriptions (missing 2023-03-07 17:28:39 +00:00
spear
sprd
sti
stm
sunxi
tegra
ti sound updates for 6.3-rc1 2023-02-22 10:29:05 -08:00
uniphier
ux500
xilinx
xtensa
Kconfig
Makefile
soc-ac97.c ASoC: soc-ac97: Return correct error codes 2023-02-15 16:09:07 +00:00
soc-acpi.c
soc-card.c
soc-component.c
soc-compress.c
soc-core.c
soc-dai.c
soc-dapm.c
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c
soc-link.c
soc-ops.c
soc-pcm.c ASoC: soc-pcm: add option to start DMA after DAI 2023-02-28 13:58:48 +00:00
soc-topology-test.c
soc-topology.c ASoC: Updates for v6.3 2023-02-16 14:32:04 +01:00
soc-utils-test.c
soc-utils.c