Re: [PATCH 2/2] regmap: debugfs: Optimize seeking within blocks ofregisters

From: Mark Brown
Date: Fri Feb 08 2013 - 06:35:09 EST


On Thu, Feb 07, 2013 at 11:40:32AM +0000, Dimitris Papastamos wrote:
> Optimize this so that we can better guess where to start scanning
> from. We know the length of the register field format, therefore
> given the file pointer position align to the nearest register
> field and scan from there onwards. We round down in this calculation
> and we let the rest of the code figure out where to start scanning
> from.

This doesn't apply against -next.

Attachment: signature.asc
Description: Digital signature