linux-stable/sound/soc
Kuninori Morimoto d668a5e240
ASoC: rsnd: adg: check return value for rsnd_adg_get_clkin/out()
Current rsnd_adg_get_clkin/out() are void function,
thus adg->clk/clkout[i] might be NULL.

But, for_each_rsnd_clk/clkout() macros are assuming
all clks are non NULL.

Because of this mismatch, code can be complex and/or buggy.
These functions return error by this patch,
and make sure all clks are non NULL.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87pmx5i20m.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-06-03 13:56:41 +01:00
..
adi
amd ASoC: amd: renoir: Remove redundant assignment to pdm_ctrl and pdm_enable and pdm_dma_enable 2021-05-10 13:05:32 +01:00
atmel
au1x
bcm Merge remote-tracking branch 'asoc/for-5.13' into asoc-next 2021-04-23 19:01:02 +01:00
cirrus
codecs ASoC: codecs: tfa989x: Add support for optional vddd-supply 2021-06-02 12:03:32 +01:00
dwc
fsl ASoC: imx-rpmsg: fix platform_no_drv_owner.cocci warnings 2021-05-27 16:25:19 +01:00
generic ASoC: audio-graph: tidyup graph_parse_node() 2021-05-11 15:46:51 +01:00
hisilicon ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup() 2021-05-18 14:04:32 +01:00
img
intel ASoC: Intel: Skylake: use DEVICE_ATTR_RO macro 2021-06-02 12:03:33 +01:00
jz4740 ASoC: jz4740-i2s: fix function name 2021-05-10 17:06:04 +01:00
kirkwood
mediatek ASoC: mediatek: mt8192: Delete a redundant condition branch 2021-05-10 13:05:33 +01:00
meson ASoC: meson: g12a-toacodec: add support for SM1 TOACODEC 2021-05-19 14:19:05 +01:00
mxs
pxa
qcom ASoC: qcom: q6asm-dai: Constify static struct snd_compress_ops 2021-06-01 14:05:14 +01:00
rockchip
samsung
sh ASoC: rsnd: adg: check return value for rsnd_adg_get_clkin/out() 2021-06-03 13:56:41 +01:00
sof Merge series "ASoC: Constify snd_compress_ops" from Rikard Falkeborn <rikard.falkeborn@gmail.com>: 2021-06-01 18:10:41 +01:00
spear
sprd
sti ASoC: sti: sti_uniperif: add missing MODULE_DEVICE_TABLE 2021-04-13 12:33:45 +01:00
stm ASoC: stm32: do not request a new clock consummer reference 2021-04-28 16:34:53 +01:00
sunxi Merge remote-tracking branch 'asoc/for-5.13' into asoc-next 2021-04-23 19:01:02 +01:00
tegra ASoC: tegra: mark runtime-pm functions as __maybe_unused 2021-04-22 16:27:37 +01:00
ti ASoC: ti: omap-mcbsp: use DEVICE_ATTR_RW macro 2021-06-01 14:05:16 +01:00
uniphier
ux500
xilinx
xtensa
Kconfig ASoC: topology: adhere to KUNIT formatting standard 2021-04-14 15:26:24 +01:00
Makefile ASoC: topology: adhere to KUNIT formatting standard 2021-04-14 15:26:24 +01:00
soc-ac97.c
soc-acpi.c ASoC: soc-acpi: remove useless initialization 2021-04-19 14:03:29 +01:00
soc-card.c
soc-component.c
soc-compress.c
soc-core.c Merge branch 'for-5.13' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.14 2021-05-25 16:44:26 +01:00
soc-dai.c ASoC: soc-dai: fix up hw params only if it is needed 2021-05-19 14:19:08 +01:00
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: ignore dummy-DAI at soc_pcm_params_symmetry() 2021-04-16 14:34:13 +01:00
soc-topology-test.c
soc-topology.c ASoC: topology: Fix using uninitialized pointer 2021-05-20 17:57:28 +01:00
soc-utils.c ASoC: soc-utils: add snd_soc_component_is_dummy() 2021-04-16 14:34:12 +01:00