aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-12-01 01:26:30 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-12-01 01:26:30 +0000
commit3f5adf94526e33a9da8193d26a7d511820eb7f4d (patch)
treed8361752ab24587b4ded5afefc80f54709a1e2c5 /drivers/regulator
parent3feb1831a35d8e869f653b0a9eccd71ef9b1deb1 (diff)
fix-regulators-pm-bt-get-regulator-mutx-on-resume.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/core.c1
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;
}