Re: [PATCH] regmap: cache: Handle stride > 1 in sync_block_raw_flush

2014-01-27 Thread Mark Brown
On Fri, Jan 24, 2014 at 03:40:39PM -0800, Dylan Reid wrote: > 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 Applied, thanks. signatu

[PATCH] regmap: cache: Handle stride > 1 in sync_block_raw_flush

2014-01-24 Thread Dylan Reid
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,