lkml.org 
[lkml]   [2013]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] regmap: cache: Make sure to sync the last register in a block
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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-08-05 17:21    [W:0.046 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site