Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 758c6799 authored by Ansuel Smith's avatar Ansuel Smith Committed by Sasha Levin
Browse files

regmap: allow to define reg_update_bits for no bus configuration



[ 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.

Signed-off-by: default avatarAnsuel Smith <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20211104150040.1260-1-ansuelsmth@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Stable-dep-of: 3f42b142ea11 ("serial: max310x: fix IO data corruption in batched operations")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9a7bbea2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment