13 Jun
2013
13 Jun
'13
7:43 p.m.
On Thu, Jun 13, 2013 at 09:09:53AM -0600, Stephen Warren wrote:
This doesn't solve a current failure. It just seems to me that one shouldn't create the regmap object until it's actually possible to use it.
That's true but one of the goals with regmap is to be able to just use the cache with the device powered off (lots of ASoC operation relies on that for example) - regmap itself shouldn't ever be forcing the device to be powered on. One could equally say you shouldn't think about using the hardware until you've got a regmap object with which to interact with it, which is clearly the more urgent priority! :P