mirror-linux/sound/soc/bcm
Haotian Zhang 0ebbd45c33
ASoC: bcm: bcm63xx-pcm-whistler: Check return value of of_dma_configure()
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>
2025-12-03 11:26:14 +00:00
..
Kconfig ASoC: bcm: Standardize ASoC menu 2025-06-24 01:01:11 +01:00
Makefile ASoC: bcm: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:16 +09: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-03 11:26:14 +00:00
bcm2835-i2s.c ASoC: bcm2835-i2s: Use maple tree register cache 2024-09-30 01:10:59 +02:00
cygnus-pcm.c ASoC: constify snd_soc_component_driver struct 2024-09-30 01:10:48 +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