Re: [Q] .readable_reg() not verified during read?

From: Mark Brown
Date: Sun Oct 28 2012 - 14:08:51 EST


On Sun, Oct 28, 2012 at 12:36:40AM +0200, Guennadi Liakhovetski wrote:

> Looking at regmap.c it looks like the .readable_reg() callback is not
> consulted when performing a register read, e.g. in _regmap_raw_read(). Is
> this intentional? If yes - why?

No real reason, though to be honest it's not that important - the main
reason for having the function is to make the debugfs stuff work nicely
rather than anything else.

Attachment: signature.asc
Description: Digital signature