From 3f5adf94526e33a9da8193d26a7d511820eb7f4d Mon Sep 17 00:00:00 2001 From: Andy Green Date: Mon, 1 Dec 2008 01:26:30 +0000 Subject: fix-regulators-pm-bt-get-regulator-mutx-on-resume.patch Signed-off-by: Andy Green --- drivers/regulator/core.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers') 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; } -- cgit v1.2.3