lkml.org 
[lkml]   [2013]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] regmap: debugfs: Fix start_reg calculation
On Tue, May 07, 2013 at 02:11:37PM +0100, Srinivas KANDAGATLA wrote:

> regmap_debugfs_get_dump_start returns register number, not the actual
> offset into the map. So we use the return value as start to dump the

No, it doesn't - it returns the register it should start reading from.
It's just that the code isn't paying attention to stride and should.
Fix the function, not the callers.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-05-07 17:21    [W:0.026 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site