Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1319124

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

From Johannes Berg <johannes@sipsolutions.net>
Newsgroups linux.kernel
Subject Re: [PATCH] regmap: mmio: Convert to regmap_bus and fix accessor usage
Date 2016-01-27 17:20 +0100
Message-ID <qVAZ4-6ax-23@gated-at.bofh.it> (permalink)
References <qVAml-5zA-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@sipsolutions.net>

Thanks!

johannes

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] regmap: mmio: Convert to regmap_bus and fix accessor usage Mark Brown <broonie@kernel.org> - 2016-01-27 16:40 +0100
  Re: [PATCH] regmap: mmio: Convert to regmap_bus and fix accessor usage Arnd Bergmann <arnd@arndb.de> - 2016-01-27 17:00 +0100
  Re: [PATCH] regmap: mmio: Convert to regmap_bus and fix accessor  usage Johannes Berg <johannes@sipsolutions.net> - 2016-01-27 17:20 +0100

csiph-web