]> Git Repo - linux.git/commitdiff
regmap: add regmap_field_force_xxx() macros
authorKuninori Morimoto <[email protected]>
Mon, 15 Feb 2016 05:25:54 +0000 (05:25 +0000)
committerMark Brown <[email protected]>
Fri, 26 Feb 2016 02:44:00 +0000 (11:44 +0900)
Signed-off-by: Kuninori Morimoto <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
include/linux/regmap.h

index 7d3d498fd3e8ff340808f71f0eafd515d554fc17..d36ea89adc50074003ccc3af29be5f49d098a41c 100644 (file)
@@ -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)
This page took 0.057518 seconds and 4 git commands to generate.