On Tue, Mar 28, 2023 at 04:18:30PM +0200, Nuno Sá wrote:But the driver does not have its own lock.
On Tue, 2023-03-28 at 14:46 +0100, Mark Brown wrote:In case the driver has its own lock to serialize IO how on earth the regmap
On Tue, Mar 28, 2023 at 03:26:44PM +0200, Nuno Sá wrote:Even if 'config->disable_locking' is set? I think that is what's being
IIRC, regmap_read() is not really reentrant and it is used in theAll the regmap operations are fully thread safe.
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 :)
discussed in here...
lock is needed.