Re: [RFC] regmap: debugfs: Fix start_reg calculation
From: Mark Brown
Date: Tue May 07 2013 - 10:29:03 EST
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.
Attachment:
signature.asc
Description: Digital signature