Thread (23 messages) 23 messages, 5 authors, 2022-03-07

Re: [PATCH v6 5/9] regmap: Introduces regmap lock helpers

From: Mark Brown <broonie@kernel.org>
Date: 2021-12-24 13:19:49
Also in: linux-aspeed, linux-devicetree, linux-hwmon, lkml, openbmc

On Fri, Dec 24, 2021 at 11:13:48AM +0700, Quan Nguyen wrote:
This commit introduces regmap_acquire/release_lock() functions and makes
them available for drivers that need atomic access of regmap registers
You've not explained what something would need this for and how
it's expected to work - we don't provide unlocked access to the
regmap to client drivers so I don't see how one could safely use
this.  It's unclear to me what this would mean or why it's not
better implemented in the client driver.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help