projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
901b74a
)
leds: wm8350: Complain if we fail to reenable DCDC
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 6 Mar 2013 05:01:37 +0000
(21:01 -0800)
committer
Bryan Wu
<cooloney@gmail.com>
Mon, 1 Apr 2013 18:04:49 +0000
(11:04 -0700)
Provide some trace, though the hardware is most likely non-functional if
this happens.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-wm8350.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/leds/leds-wm8350.c
b/drivers/leds/leds-wm8350.c
index ed15157c8f6cbec8f7c721e29564da3de805b3a9..8a181d56602d89f601ebfdc4766b8744f141b759 100644
(file)
--- a/
drivers/leds/leds-wm8350.c
+++ b/
drivers/leds/leds-wm8350.c
@@
-129,7
+129,10
@@
static void wm8350_led_disable(struct wm8350_led *led)
ret = regulator_disable(led->isink);
if (ret != 0) {
dev_err(led->cdev.dev, "Failed to disable ISINK: %d\n", ret);
- regulator_enable(led->dcdc);
+ ret = regulator_enable(led->dcdc);
+ if (ret != 0)
+ dev_err(led->cdev.dev, "Failed to reenable DCDC: %d\n",
+ ret);
return;
}
This page took
0.024383 seconds
and
5
git commands to generate.