]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: bcm: bcm63xx-pcm-whistler: Check return value of of_dma_configure()
authorHaotian Zhang <vulab@iscas.ac.cn>
Tue, 2 Dec 2025 10:16:42 +0000 (18:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:09:38 +0000 (13:09 +0100)
commit5a38a44815e02281dce784fea51cee8d0bcab5fa
tree9bec552c57b5407b3f805567d0e705731cda43b7
parent97044043d5314cf4682ccd2cea119c823fb32217
ASoC: bcm: bcm63xx-pcm-whistler: Check return value of of_dma_configure()

[ Upstream commit 0ebbd45c33d0049ebf5a22c1434567f0c420b333 ]

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: 88eb404ccc3e ("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>
sound/soc/bcm/bcm63xx-pcm-whistler.c