Re: [PATCH v6 5/5] mfd: max77541: Add ADI MAX77541/MAX77540 PMIC Support

From: Mark Brown
Date: Tue Mar 28 2023 - 09:47:09 EST


On Tue, Mar 28, 2023 at 03:26:44PM +0200, Nuno Sá wrote:

> IIRC, regmap_read() is not really reentrant and it is used in the IIO
> driver on the sysfs interface. So, yeah, I think you need the regmap
> lock and better just leave the config as is. Yes, the lock is opt-out
> so let's not disable it :)

All the regmap operations are fully thread safe.

Attachment: signature.asc
Description: PGP signature