[PATCH] ASoC: codecs: Check for error pointer after calling devm_regmap_init_mmio

Mark Brown broonie at kernel.org
Wed Jan 12 15:20:34 CET 2022


On Tue, Jan 11, 2022 at 09:32:15AM +0800, Jiasheng Jiang wrote:
> The devm_regmap_init_mmio() may return error pointer under certain
> circumstances, for example the possible failure of the kzalloc() in
> regmap_mmio_gen_context(), which is called by devm_regmap_init_mmio().

This doesn't apply against current code, please check and resend.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220112/b9c6c311/attachment.sig>


More information about the Alsa-devel mailing list