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

From: Mark Brown
Date: Wed Jan 12 2022 - 09:20:45 EST


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.

Attachment: signature.asc
Description: PGP signature