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 ASoC: simple-card-utils: create jack inputs for aux_devs 2023-01-27 12:20:55 +00:00
hisilicon
img
intel ASoC: Intel: soc-acpi: fix copy-paste issue in topology names 2023-03-07 13:57:57 +00:00
jz4740
kirkwood ASoC: kirkwood: Iterate over array indexes instead of using pointer math 2023-01-28 10:51:05 +00:00
mediatek ASoC: mediatek: mt8195: add missing initialization 2023-03-01 14:49:17 +00:00
meson ASoC: meson: use helper function 2023-01-31 11:05:03 +00:00
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 ASoC: rockchip: use helper function 2023-01-31 11:05:04 +00:00
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 ASoC: spear: use helper function 2023-01-31 11:04:59 +00:00
sprd
sti
stm
sunxi
tegra ASoC: tegra: use helper function 2023-01-31 11:05:05 +00:00
ti sound updates for 6.3-rc1 2023-02-22 10:29:05 -08:00
uniphier
ux500 ASoC: ux500: remove stedma40 references 2023-01-20 12:05:57 +00:00
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 ASoC: soc-component: add get_jack_type 2023-01-27 12:20:55 +00:00
soc-compress.c ASoC: soc-compress.c: fixup private_data on snd_soc_new_compress() 2023-01-28 10:51:06 +00:00
soc-core.c ASoC: soc-core.c: use helper function 2023-01-31 11:05:07 +00:00
soc-dai.c ASoC: soc-dai.h: cleanup Playback/Capture data for snd_soc_dai 2023-01-31 11:05:12 +00:00
soc-dapm.c ASoC: soc-dapm.c: use helper function 2023-01-31 11:05:08 +00:00
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