Re: [PATCH v2] regmap: Clarify regmap_update_bits_base() 'async' kernel-doc
From: Mark Brown
Date: Tue Jul 21 2026 - 12:33:49 EST
On Tue, Jul 21, 2026 at 10:49:02AM -0500, Bjorn Helgaas wrote:
> The kernel-doc for the regmap_update_bits_base() 'async' parameter didn't
> actually say what it does.
It does?
> Reword it to clarify the read-modify-write mechanics: when 'async' is true,
> the write is queued asynchronously, but the read will still be synchronous
> unless the device uses a register cache.
The API here is that we'll use async as much as is supported, there are
actually some buses that have a read/modify/write operation in the
protocol so if one of them supported async I/O we could use it here
(we'd need to plumb that through, but the users shouldn't care).
Attachment:
signature.asc
Description: PGP signature