Messages in this thread | | | Subject | Re: [PATCH 2/2] regmap: Allow caches for devices with no defaults | From | Valdis.Kletnieks@vt ... | Date | Sun, 09 Oct 2011 13:43:42 -0400 |
| |
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 :) [unhandled content-type:application/pgp-signature] | |