diff options
author | Andy Green <andy@openmoko.com> | 2008-12-01 01:26:30 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-12-01 01:26:30 +0000 |
commit | 3f5adf94526e33a9da8193d26a7d511820eb7f4d (patch) | |
tree | d8361752ab24587b4ded5afefc80f54709a1e2c5 /drivers/regulator/core.c | |
parent | 3feb1831a35d8e869f653b0a9eccd71ef9b1deb1 (diff) |
fix-regulators-pm-bt-get-regulator-mutx-on-resume.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers/regulator/core.c')
-rw-r--r-- | drivers/regulator/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 02a774424e8..5e1cb5f65d6 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -1113,6 +1113,7 @@ int regulator_disable(struct regulator *regulator) if (!regulator->enabled) { printk(KERN_ERR "%s: not in use by this consumer\n", __func__); + WARN_ON(1); return 0; } |