Re: [PATCH 5.15 72/76] regmap: allow to define reg_update_bits for no bus configuration

From: Sasha Levin
Date: Wed Mar 13 2024 - 14:35:25 EST


On Wed, Mar 13, 2024 at 04:46:04PM +0000, Mark Brown wrote:
On Wed, Mar 13, 2024 at 12:42:19PM -0400, Sasha Levin wrote:
From: Ansuel Smith <ansuelsmth@xxxxxxxxx>

[ Upstream commit 02d6fdecb9c38de19065f6bed8d5214556fd061d ]

Some device requires a special handling for reg_update_bits and can't use
the normal regmap read write logic. An example is when locking is
handled by the device and rmw operations requires to do atomic operations.
Allow to declare a dedicated function in regmap_config for
reg_update_bits in no bus configuration.

This is fairly clearly new functionality?

It is, but like the other commit, this new functionality is needed for a
later fix. We indicate this in the commit message by adding a trailer:

Signed-off-by: Ansuel Smith <ansuelsmth@xxxxxxxxx>
Link: https://lore.kernel.org/r/20211104150040.1260-1-ansuelsmth@xxxxxxxxx
Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
Stable-dep-of: 3f42b142ea11 ("serial: max310x: fix IO data corruption in batched operations")
^^^^^^^^^
Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

--
Thanks,
Sasha