Re: [PATCH 2/2] regmap: mmio: Parse endianness definitions from DT

From: Mark Brown
Date: Thu Mar 31 2016 - 13:19:49 EST

On Thu, Mar 31, 2016 at 03:09:16PM +0900, Krzysztof Kozlowski wrote:

> This breaks my syscon reboot handler (Exynos4412, Trats2):

Please point people to device trees, not everyone is going to be
familiar with your particular board.

> I added a printk before switch and:
> config->val_format_endian: REGMAP_ENDIAN_DEFAULT
> regmap_get_val_endian(): REGMAP_ENDIAN_BIG,

I've pushed up a fix which makes little endian the default for MMIO,
please check again.

Attachment: signature.asc
Description: PGP signature