linux-stable/sound/soc
Kuninori Morimoto 0035e2565b
ASoC: soc-component: add snd_soc_pcm_component_pointer()
Current ALSA SoC is directly using component->driver->ops->xxx,
thus, the code nested deeply, and it makes code difficult to read,
and is not good for encapsulation.

We want to implement component related function at soc-component.c,
but, some of them need to care whole snd_soc_pcm_runtime (= rtd)
connected component.

Let's call component related function which need to care with
for_each_rtdcom() loop as snd_soc_pcm_component_xxx().
This patch adds new snd_soc_pcm_component_pointer() and use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87sgqt4d0j.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-08-05 16:24:42 +01:00
..
adi
amd
atmel ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
au1x ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:12:25 +01:00
bcm ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
cirrus ASoC: ep93xx-i2s: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:04:11 +01:00
codecs ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
dwc
fsl ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
generic Merge branch 'asoc-5.3' into asoc-5.4 2019-07-26 13:10:09 +01:00
hisilicon
img
intel ASoC: Intel: SoC: skylake: no need to check return value of debugfs_create functions 2019-08-01 13:55:21 +01:00
jz4740
kirkwood ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
mediatek ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
meson ASoC: meson: axg-tdm-formatter: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:12:52 +01:00
mxs ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
nuc900
pxa ASoC: mmp-sspa: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:10:54 +01:00
qcom ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
rockchip Merge branch 'asoc-5.3' into asoc-5.4 2019-07-26 13:10:09 +01:00
samsung ASoC: samsung: odroid: fix a double-free issue for cpu_dai 2019-07-16 19:17:15 +01:00
sh ASoC: rsnd: Support hw_free() callback at DAI level 2019-07-23 18:14:13 +01:00
sirf ASoC: sirf: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:05:39 +01:00
sof ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
spear ASoC: spear: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:06:18 +01:00
sprd ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
sti ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
stm ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
sunxi ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
tegra ASoC: tegra: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:03:41 +01:00
ti ASoC: ti: Mark expected switch fall-throughs 2019-07-31 12:07:03 +01:00
txx9
uniphier ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
ux500 ASoC: ux500: mop500: consider CPU-Platform possibility 2019-06-28 15:19:55 +01:00
xilinx ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
xtensa ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
zte ASoC: zx-tdm: remove redundant assignment to ts_width on error return path 2019-08-01 13:56:26 +01:00
Kconfig
Makefile ASoC: add soc-component.c 2019-08-05 16:16:19 +01:00
soc-ac97.c
soc-acpi.c
soc-component.c ASoC: soc-component: add snd_soc_pcm_component_pointer() 2019-08-05 16:24:42 +01:00
soc-compress.c ASoC: soc-dai: move snd_soc_dai_stream_valid() to soc-dai.c 2019-07-23 18:14:26 +01:00
soc-core.c ASoC: soc-component: move snd_soc_component_set_bias_level() 2019-08-05 16:24:17 +01:00
soc-dai.c ASoC: soc-dai: move snd_soc_dai_stream_valid() to soc-dai.c 2019-07-23 18:14:26 +01:00
soc-dapm.c ASoC: soc-component: move snd_soc_component_set_bias_level() 2019-08-05 16:24:17 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-io.c
soc-jack.c ASoC: add soc-component.c 2019-08-05 16:16:19 +01:00
soc-ops.c
soc-pcm.c ASoC: soc-component: add snd_soc_pcm_component_pointer() 2019-08-05 16:24:42 +01:00
soc-topology.c
soc-utils.c ASoC: add soc-component.c 2019-08-05 16:16:19 +01:00