Re: [PATCH 2/2 v2] regmap: debugfs: Optimize seeking within blocksof registers

From: Mark Brown
Date: Mon Feb 11 2013 - 06:26:51 EST


On Fri, Feb 08, 2013 at 12:47:20PM +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.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature