diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2015-07-20 15:53:47 (GMT) |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-08-11 14:08:56 (GMT) |
commit | 496e43aeacab245ca57139e89d83655f8370e0ef (patch) | |
tree | b9c1285748e8272e8b6153d7816aa6f509b5a567 /drivers/mfd/wm8997-tables.c | |
parent | 34885237bf7d744433d3c4558a852e20fb2c2837 (diff) | |
download | linux-496e43aeacab245ca57139e89d83655f8370e0ef.tar.xz |
mfd: arizona: Specify regmap endianness
Explicitly set the regmap endianness instead of relying on
the default being correct.
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/wm8997-tables.c')
-rw-r--r-- | drivers/mfd/wm8997-tables.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/wm8997-tables.c b/drivers/mfd/wm8997-tables.c index daa2498..2a91473 100644 --- a/drivers/mfd/wm8997-tables.c +++ b/drivers/mfd/wm8997-tables.c @@ -1519,6 +1519,8 @@ static bool wm8997_volatile_register(struct device *dev, unsigned int reg) const struct regmap_config wm8997_i2c_regmap = { .reg_bits = 32, .val_bits = 16, + .reg_format_endian = REGMAP_ENDIAN_BIG, + .val_format_endian = REGMAP_ENDIAN_BIG, .max_register = WM8997_MAX_REGISTER, .readable_reg = wm8997_readable_register, |