Re: [PATCH v2] regmap: mmio: Fix regmap_mmio_write for uneven counts

From: Mark Brown
Date: Mon May 26 2014 - 11:56:39 EST


On Fri, May 16, 2014 at 04:25:34PM +0200, Philipp Zabel wrote:
> Commit 932580409a9dacbf42215fa737bf06ae2c0aa624
> "regmap: mmio: Add support for 1/2/8 bytes wide register address."
> broke regmap_mmio_write for uneven counts, for example 32-bit register
> addresses with no padding and 8-byte values (count = 5).
> Fix this by allowing all counts large enough to include some value.
> This check was BUG_ON(count < 4) before the last change.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature