linux/sound/soc/kirkwood
Aleksandr Mishin ea60ab9572
ASoC: kirkwood: Fix potential NULL dereference
In kirkwood_dma_hw_params() mv_mbus_dram_info() returns NULL if
CONFIG_PLAT_ORION macro is not defined.
Fix this bug by adding NULL check.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: bb6a40fc5a ("ASoC: kirkwood: Fix reference to PCM buffer address")
Signed-off-by: Aleksandr Mishin <amishin@t-argos.ru>
Link: https://msgid.link/r/20240328173337.21406-1-amishin@t-argos.ru
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-03-28 19:27:59 +00:00
..
armada-370-db.c ASoC: kirkwood: convert not to use asoc_xxx() 2023-09-25 14:16:36 +02:00
Kconfig
kirkwood-dma.c ASoC: kirkwood: Fix potential NULL dereference 2024-03-28 19:27:59 +00:00
kirkwood-i2s.c ASoC: kirkwood: kirkwood-i2s: Convert to platform remove callback returning void 2023-03-20 13:08:35 +00:00
kirkwood.h
Makefile