summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2014-05-16 16:25:34 +0200
committerMark Brown <broonie@linaro.org>2014-05-26 16:56:02 +0100
commit2e804b7c72d4efd2318428a2c1e40fd0e173c487 (patch)
treec4de0887bd10633a9076228deeeeab7a5559362e /tools
parentb48d13988bee440e43a510ea8878f1f329cee189 (diff)
regmap: mmio: Fix regmap_mmio_write for uneven counts
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. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions