Re: [PATCH 2/2] regmap: Allow caches for devices with no defaults

From: Valdis . Kletnieks
Date: Sun Oct 09 2011 - 13:43:57 EST


On Sun, 09 Oct 2011 14:44:36 BST, Mark Brown said:
> We only really need the defaults in order to cut down the number of
> registers we sync and to satisfy reads while the device is powered off

So let me get this straight - we cache the values so that if there's a read,
we can return our best guess as to what the device would return if it was
in fact powered on, instead of notifying the caller that the device is off?

I think I just sprained my brain trying to parse the logic there :)

Attachment: pgp00000.pgp
Description: PGP signature