lkml.org 
[lkml]   [2008]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateMon, 17 Nov 2008 15:16:39 +0000
FromMark Brown <>
SubjectRe: [patch 2.6.28-rc5] regulator: enable/disable refcounting
On Sun, Nov 16, 2008 at 11:44:46AM -0800, David Brownell wrote:

> + mutex_lock(&rdev->mutex);
> + if (regulator->enabled == 1) {
> + ret = _regulator_disable(rdev);
> + if (ret == 0)
> + regulator->uA_load = 0;

Why clear the load here? I'd expect to be able to enable and disable
the regulator while preserving the configuration.


\
 
 \ /
  Last update: 2008-11-17 16:19    [from the cache]
©2003-2010