linux/drivers/base/regmap
Dylan Reid 78ba73eecd regmap: cache: Handle stride > 1 in sync_block_raw_flush
regcache_sync_block_raw_flush takes the address of the base register
and the address of one past the last register to write to.  "count" is
the number of registers in the range, not the number of bytes, it
should be (end addr - start addr) / stride. Without accounting for
strides greater than one, registers past the end might be synced or
the writeable_reg callback at the beginning of _regmap_raw_write will
fail and nothing will be written.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
2014-01-27 18:25:11 +00:00
..
internal.h Merge remote-tracking branch 'regmap/topic/field' into regmap-next 2013-10-28 13:01:33 -07:00
Kconfig regmap: add SPMI support 2013-10-28 12:51:43 -07:00
Makefile regmap: add SPMI support 2013-10-28 12:51:43 -07:00
regcache-flat.c regmap: flat: Add flat cache type 2013-01-02 10:58:53 +00:00
regcache-lzo.c regmap: cache: Pass the map rather than the word size when updating values 2013-03-04 10:30:27 +08:00
regcache-rbtree.c regmap: Updates for v3.12 2013-09-03 10:07:40 -07:00
regcache.c regmap: cache: Handle stride > 1 in sync_block_raw_flush 2014-01-27 18:25:11 +00:00
regmap-debugfs.c regmap: debugfs: Fix a boot time crash with early regmap init 2013-10-24 13:50:58 +01:00
regmap-i2c.c i2c: Split I2C_M_NOSTART support out of I2C_FUNC_PROTOCOL_MANGLING 2012-05-30 10:55:34 +02:00
regmap-irq.c regmap: irq: Allow using zero value for ack_base 2013-12-16 20:50:13 +00:00
regmap-mmio.c regmap: use IS_ERR() to check clk_get() results 2013-11-26 13:16:31 +00:00
regmap-spi.c regmap: spi: Handle async writes of only one buffer 2013-10-14 22:09:26 +01:00
regmap-spmi.c regmap: add SPMI support 2013-10-28 12:51:43 -07:00
regmap.c regmap: Allow regmap_bulk_write() to work for "no-bus" regmaps 2013-12-30 12:39:20 +00:00