linux/sound/soc
Kuninori Morimoto be6ac0a9ce
ASoC: soc-core: add snd_soc_is_matching_component()
To find (CPU/)Codec/Platform, we need to find component first
(= on CPU/Codec/Platform), and find DAI from it (= CPU/Codec).
These are similar operation but difficult to be simple,
and has many duplicate code to finding component.
This patch adds new snd_soc_is_matching_component(),
and reduce duplicate codes.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-09-17 10:46:08 -07:00
..
adi
amd Merge branch 'asoc-4.19' into asoc-4.20 Cirrus conflict 2018-09-10 18:55:12 +01:00
atmel ASoC: atmel_ssc_dai: use devm_snd_soc_register_component() 2018-09-10 15:10:50 +01:00
au1x treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
bcm ASoC: bcm: use devm_snd_soc_register_component() 2018-09-10 15:13:12 +01:00
cirrus ASoC: cirrus: i2s: IRQ-based stream watchdog 2018-05-11 11:27:33 +09:00
codecs ASoC: es8328: Fix fall-through annotations 2018-09-17 09:55:48 -07:00
davinci ASoC: davinci-mcasp: Add support for FIFO usage caused delay reporting 2018-08-31 11:31:03 +01:00
dwc
fsl ASoC: Convert to using %pOFn instead of device_node.name 2018-08-28 19:07:00 +01:00
generic ASoC: simple-card-util: remove dai_link compatible code for platform 2018-08-31 15:59:02 +01:00
hisilicon ASoC: hisilicon: fix fall-through annotations 2018-09-17 10:30:23 -07:00
img treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
intel ASoC: skl-topology: Use kmemdup to replace kzalloc + memcpy 2018-09-10 15:20:20 +01:00
jz4740
kirkwood
mediatek ASoC: remove unneeded static set .owner field in platform_driver 2018-09-12 10:52:25 +01:00
meson ASoC: add for_each_rtd_codec_dai() macro 2018-09-04 16:59:11 +01:00
mxs
nuc900 ASoC: nuc900: use devm_snd_soc_register_component() 2018-09-10 15:14:14 +01:00
omap ASoC: omap: use devm_snd_soc_register_component() 2018-09-10 15:14:23 +01:00
pxa ASoC: pxa: switch to new ac97 bus support 2018-09-10 18:47:58 +01:00
qcom ASoC: qdsp6: q6asm-dai: remove duplicated include from q6asm-dai.c 2018-09-17 10:32:05 -07:00
rockchip ASoC: remove unneeded static set .owner field in platform_driver 2018-09-12 10:52:25 +01:00
samsung ASoC: samsung: i2s: Mark expected switch fall-through 2018-08-03 17:59:29 +01:00
sh Merge branch 'asoc-4.19' into asoc-4.20 Cirrus conflict 2018-09-10 18:55:12 +01:00
sirf ASoC: sirf: Fix potential NULL pointer dereference 2018-07-30 12:02:30 +01:00
spear
sti ASoC: sti: Use snd_pcm_stop_xrun() helper 2018-07-04 15:41:35 +01:00
stm ASoC: Convert to using %pOFn instead of device_node.name 2018-08-28 19:07:00 +01:00
sunxi
tegra Merge branch 'asoc-4.18' into asoc-4.19 wmadsp dep 2018-08-08 17:32:10 +01:00
txx9 ASoC: txx9: use devm_snd_soc_register_component() 2018-09-10 15:14:47 +01:00
uniphier ASoC: uniphier: change functions to static 2018-07-30 12:02:32 +01:00
ux500
xtensa
zte ASoC: zte: Fix incorrect PCM format bit usages 2018-07-26 15:48:19 +01:00
Kconfig ASoC: meson: add axg fifo base driver 2018-07-18 13:08:36 +01:00
Makefile ASoC: meson: add axg fifo base driver 2018-07-18 13:08:36 +01:00
soc-ac97.c ASoC: ac97: convert to SPDX identifiers 2018-07-02 10:56:09 +01:00
soc-acpi.c ASoC: soc-acpi: convert to SPDX identifiers 2018-07-02 10:55:27 +01:00
soc-compress.c ASoC: compress: make BE and FE order inline with dpcm 2018-08-07 14:42:29 +01:00
soc-core.c ASoC: soc-core: add snd_soc_is_matching_component() 2018-09-17 10:46:08 -07:00
soc-dapm.c ASoC: dapm: Add missing return value check for snd_soc_dapm_new_dai 2018-09-10 15:43:50 +01:00
soc-devres.c ASoC: soc-devres.c: convert to SPDX identifiers 2018-07-02 10:55:22 +01:00
soc-generic-dmaengine-pcm.c DMAengine updates for v4.19-rc1 2018-08-18 15:55:59 -07:00
soc-io.c ASoC: soc-io.c: convert to SPDX identifiers 2018-07-02 10:53:55 +01:00
soc-jack.c ASoC: soc-jack.c: convert to SPDX identifiers 2018-07-02 10:55:12 +01:00
soc-ops.c ASoC: Fix UBSAN warning at snd_soc_get/put_volsw_sx() 2018-09-11 11:58:52 +01:00
soc-pcm.c ASoC: add for_each_rtd_codec_dai() macro 2018-09-04 16:59:11 +01:00
soc-topology.c ASoC: dapm: Move error handling to snd_soc_dapm_new_control_unlocked 2018-09-05 17:11:17 +01:00
soc-utils.c Merge branch 'asoc-4.18' into asoc-4.19 wmadsp dep 2018-08-08 17:32:10 +01:00