Re: [PATCH] regmap: mmio: Convert to regmap_bus and fix accessor usage

From: Johannes Berg
Date: Wed Jan 27 2016 - 11:16:38 EST


On Wed, 2016-01-27 at 15:34 +0000, Mark Brown wrote:
>Â
> +static unsigned int regmap_mmio_read32le(struct regmap_mmio_context
> *ctx,
> + ÂÂÂÂÂÂÂÂÂunsigned int reg)
> +{
> + return readw(ctx->regs + reg);
> +}

With this fixed to readl(), it boots on my big-endian ARM system and
PCIe is working as before Simon's commit.

Tested-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

Thanks!

johannes