linux/sound/soc/bcm
Haotian Zhang 7131bff8d2 ASoC: bcm: bcm63xx-pcm-whistler: Check return value of of_dma_configure()
[ Upstream commit 0ebbd45c33 ]

bcm63xx_soc_pcm_new() does not check the return value of
of_dma_configure(), which may fail with -EPROBE_DEFER or
other errors, allowing PCM setup to continue with incomplete
DMA configuration.

Add error checking for of_dma_configure() and return on failure.

Fixes: 88eb404ccc ("ASoC: brcm: Add DSL/PON SoC audio driver")
Signed-off-by: Haotian Zhang <vulab@iscas.ac.cn>
Link: https://patch.msgid.link/20251202101642.492-1-vulab@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-12-18 13:55:18 +01:00
..
bcm63xx-i2s-whistler.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
bcm63xx-i2s.h ASoC: bcm: Use platform_get_irq() to get the interrupt 2021-12-21 18:05:43 +00:00
bcm63xx-pcm-whistler.c ASoC: bcm: bcm63xx-pcm-whistler: Check return value of of_dma_configure() 2025-12-18 13:55:18 +01:00
bcm2835-i2s.c ASoC: bcm: merge DAI call back functions into ops 2023-08-14 13:10:06 +01:00
cygnus-pcm.c ASoC: bcm: convert not to use asoc_xxx() 2023-09-25 14:16:18 +02:00
cygnus-ssp.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
cygnus-ssp.h ASoC: cygnus: Remove unused declarations 2023-08-13 18:16:53 +01:00
Kconfig ASoC: brcm: Add DSL/PON SoC audio driver 2020-03-13 16:01:35 +00:00
Makefile ASoC: bcm: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:16 +09:00