Philipp Zabel
2e804b7c72
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>
2014-05-26 16:56:02 +01:00
..
2014-04-08 21:34:51 +02:00
2014-04-05 15:37:40 -07:00
2014-04-02 16:23:38 -07:00
2014-05-26 16:56:02 +01:00
2014-04-12 14:49:50 -07:00
2014-04-02 20:53:45 -07:00
2014-04-05 15:37:40 -07:00
2014-04-12 14:49:50 -07:00
2014-04-07 10:24:18 -07:00
2014-04-07 14:55:46 -07:00
2014-04-02 20:53:45 -07:00
2014-04-08 13:28:02 +02:00
2014-04-08 13:27:40 +02:00
2014-04-03 09:28:16 -07:00
2014-04-10 08:55:08 -07:00
2014-04-04 09:50:07 -07:00
2014-04-11 11:58:33 -07:00
2014-04-07 10:24:18 -07:00
2014-04-08 09:52:16 -07:00
2014-04-04 09:50:07 -07:00
2014-04-01 16:13:21 -07:00
2014-04-09 08:35:31 -07:00
2014-04-09 08:45:40 -07:00
2014-04-08 13:27:40 +02:00
2014-04-07 10:24:18 -07:00
2014-04-12 16:51:08 -07:00
2014-04-05 18:32:31 -07:00
2014-04-05 18:46:26 -07:00
2014-04-05 15:37:40 -07:00
2014-04-08 12:41:13 -04:00
2014-04-10 09:06:10 -07:00
2014-04-07 16:35:52 -07:00
2014-04-11 17:20:38 -07:00
2014-04-08 11:01:12 -03:00
2014-04-01 15:14:04 -07:00
2014-04-09 08:39:39 -07:00
2014-04-07 16:36:09 -07:00
2014-04-09 08:39:39 -07:00
2014-04-07 10:17:30 -07:00
2014-04-12 17:31:22 -07:00
2014-04-07 10:59:20 -07:00
2014-04-07 10:17:30 -07:00
2014-04-06 09:38:07 -07:00
2014-04-01 15:14:04 -07:00
2014-04-05 15:37:40 -07:00
2014-04-03 16:44:15 -07:00
2014-04-10 12:11:56 -04:00
2014-04-02 14:10:21 -07:00
2014-04-07 14:55:46 -07:00
2014-04-01 16:43:18 -04:00
2014-04-05 18:32:31 -07:00
2014-04-07 16:36:07 -07:00
2014-04-11 13:30:05 -07:00
2014-04-05 15:37:40 -07:00
2014-04-08 12:02:28 -07:00
2014-04-12 18:02:16 -07:00
2014-04-05 15:38:41 -07:00
2014-04-11 13:35:49 -07:00
2014-04-12 17:31:22 -07:00
2014-04-12 17:31:22 -07:00
2014-04-10 09:15:46 -07:00
2014-04-12 12:38:53 -07:00
2014-04-12 16:51:08 -07:00
2014-04-03 14:05:02 -07:00
2014-04-12 16:51:08 -07:00
2014-04-10 08:52:35 -07:00
2014-04-07 14:55:46 -07:00
2014-04-07 17:50:18 -07:00