Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

+1
+1
drivers/base/regmap/regmap-mmio.c
··· 212 212 .reg_write = regmap_mmio_write, 213 213 .reg_read = regmap_mmio_read, 214 214 .free_context = regmap_mmio_free_context, 215 + .val_format_endian_default = REGMAP_ENDIAN_LITTLE, 215 216 }; 216 217 217 218 static struct regmap_mmio_context *regmap_mmio_gen_context(struct device *dev,