projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f55532a
)
regmap: mmio: Explicitly say little endian is the defualt in the bus config
author
Mark Brown
<broonie@kernel.org>
Thu, 31 Mar 2016 17:18:09 +0000
(10:18 -0700)
committer
Mark Brown
<broonie@kernel.org>
Thu, 31 Mar 2016 20:41:12 +0000
(13:41 -0700)
Otherwise the DT parsing will default to big endian if nothing is
specified.
Reported-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-mmio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/regmap/regmap-mmio.c
b/drivers/base/regmap/regmap-mmio.c
index 7526906ca080f81dcff1499b7e57c2ff0b79569e..1aa26aa31f6ad83cf3dab62e13eeb31ab9f3b248 100644
(file)
--- 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,