diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-11-18 17:50:18 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-11-18 17:50:18 -0800 |
commit | 3b1abcf1289466eca4c46db8b55c06422f0abf34 (patch) | |
tree | ff0078a3aff3436663bb5a5bcdc5aed506ff2e1a /drivers | |
parent | 50fc24944a2a0ef5aab571dcac17f6c5f2613f56 (diff) | |
parent | 02d6fdecb9c38de19065f6bed8d5214556fd061d (diff) | |
download | lwn-3b1abcf1289466eca4c46db8b55c06422f0abf34.tar.gz lwn-3b1abcf1289466eca4c46db8b55c06422f0abf34.zip |
Merge tag 'regmap-no-bus-update-bits' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap
Mark Brown says:
===================
regmap: Allow regmap_update_bits() to be offloaded with no bus
Some hardware can do this so let's use that capability.
===================
Link: https://lore.kernel.org/all/YZWDOidBOssP10yS@sirena.org.uk/
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/base/regmap/regmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 21a0c2562ec0..2d74f9f82aa9 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c @@ -876,6 +876,7 @@ struct regmap *__regmap_init(struct device *dev, if (!bus) { map->reg_read = config->reg_read; map->reg_write = config->reg_write; + map->reg_update_bits = config->reg_update_bits; map->defer_caching = false; goto skip_format_initialization; |