From: Mark Brown Date: Thu, 31 Mar 2016 17:18:09 +0000 (-0700) Subject: regmap: mmio: Explicitly say little endian is the defualt in the bus config X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2ed94f6fde066fb37bc3553b786edb805561699e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git regmap: mmio: Explicitly say little endian is the defualt in the bus config Otherwise the DT parsing will default to big endian if nothing is specified. Reported-by: Krzysztof Kozlowski Signed-off-by: Mark Brown --- diff --git a/drivers/base/regmap/regmap-mmio.c b/drivers/base/regmap/regmap-mmio.c index 7526906ca080..1aa26aa31f6a 100644 --- a/drivers/base/regmap/regmap-mmio.c +++ b/drivers/base/regmap/regmap-mmio.c @@ -212,6 +212,7 @@ static const struct regmap_bus regmap_mmio = { .reg_write = regmap_mmio_write, .reg_read = regmap_mmio_read, .free_context = regmap_mmio_free_context, + .val_format_endian_default = REGMAP_ENDIAN_LITTLE, }; static struct regmap_mmio_context *regmap_mmio_gen_context(struct device *dev,