Re: [PATCH] regmap: cache: Make sure to sync the last register in ablock

From: Mark Brown
Date: Mon Aug 05 2013 - 10:51:35 EST

On Mon, Aug 05, 2013 at 11:21:29AM +0200, Lars-Peter Clausen wrote:
> regcache_sync_block_raw_flush() expects the address of the register after last
> register that needs to be synced as its parameter. But the last call to
> regcache_sync_block_raw_flush() in regcache_sync_block_raw() passes the address
> of the last register in the block. This effectively always skips over the last
> register in a block, even if it needs to be synced. In order to fix it increase
> the address by one register.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature