Skip to contentSkip to conversation

Applied "regmap: add regmap_field_force_xxx() macros" to the regmap tree

PATCH Mark Brown 1 participant 1 message Feb 26, 2016 Register map abstraction

lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

The patch

regmap: add regmap_field_force_xxx() macros

has been applied to the regmap tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From 489061bba6c655a2f98d39be17df118c0fd09d57 Mon Sep 17 00:00:00 2001

From: Kuninori Morimoto <[email protected]>
Date: Mon, 15 Feb 2016 05:25:54 +0000
Subject: [PATCH] regmap: add regmap_field_force_xxx() macros

---
 include/linux/regmap.h | 4 ++++
 1 file changed, 4 insertions(+)
include/linux/regmap.h +4 -0
index 7d3d498fd3e8..d36ea89adc50 100644
@@ -76,8 +76,12 @@ struct reg_sequence {
 
 #define	regmap_field_write(field, val) \
 	regmap_field_update_bits_base(field, ~0, val, NULL, false, false)
+#define	regmap_field_force_write(field, val) \
+	regmap_field_update_bits_base(field, ~0, val, NULL, false, true)
 #define	regmap_field_update_bits(field, mask, val)\
 	regmap_field_update_bits_base(field, mask, val, NULL, false, false)
+#define	regmap_field_force_update_bits(field, mask, val) \
+	regmap_field_update_bits_base(field, mask, val, NULL, false, true)
 
 #define	regmap_fields_write(field, id, val) \
 	regmap_fields_update_bits_base(field, id, ~0, val, NULL, false, false)
Signature · 1 line
2.7.0