]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: sunxi: sun50i-dmic: Add missing check for devm_regmap_init_mmio
authorChen Ni <nichen@iscas.ac.cn>
Tue, 27 Jan 2026 03:32:50 +0000 (11:32 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 27 Jan 2026 12:46:04 +0000 (12:46 +0000)
commit74823db9ba2e13f3ec007b354759b3d8125e462c
treeb40357c2a44366c7f14ab039af5402961edda048
parent8ef73c0fbd1e15ead401a74e7114d8d4614a74cf
ASoC: sunxi: sun50i-dmic: Add missing check for devm_regmap_init_mmio

Add check for the return value of devm_regmap_init_mmio() and return the
error if it fails in order to catch the error.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://patch.msgid.link/20260127033250.2044608-1-nichen@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun50i-dmic.c