summaryrefslogtreecommitdiff
path: root/drivers/mfd/wm8998-tables.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/wm8998-tables.c')
-rw-r--r--drivers/mfd/wm8998-tables.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/wm8998-tables.c b/drivers/mfd/wm8998-tables.c
index 60e8622df962..e6de3cd8a9aa 100644
--- a/drivers/mfd/wm8998-tables.c
+++ b/drivers/mfd/wm8998-tables.c
@@ -1580,6 +1580,8 @@ static bool wm8998_volatile_register(struct device *dev, unsigned int reg)
const struct regmap_config wm8998_i2c_regmap = {
.reg_bits = 32,
.val_bits = 16,
+ .reg_format_endian = REGMAP_ENDIAN_BIG,
+ .val_format_endian = REGMAP_ENDIAN_BIG,
.max_register = WM8998_MAX_REGISTER,
.readable_reg = wm8998_readable_register,