]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: sun4i-spdif: Add missing check for devm_regmap_init_mmio
authorChen Ni <nichen@iscas.ac.cn>
Tue, 27 Jan 2026 03:40:25 +0000 (11:40 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 27 Jan 2026 12:46:03 +0000 (12:46 +0000)
commit8ef73c0fbd1e15ead401a74e7114d8d4614a74cf
treede7cf94d458a6870df9ed60607638b9dd5ed9fb5
parent87ee3f05bfe2f5955c2c77ae26a1be236fd615a5
ASoC: sun4i-spdif: 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/20260127034025.2044669-1-nichen@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-spdif.c