Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373660
b: refs/heads/master
c: d67eb8e
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown authored and Bryan Wu committed Apr 1, 2013
1 parent e99cdf3 commit e3d555e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 901b74a3c4044a07c7149365aa9c4eaa6c71964b
refs/heads/master: d67eb8e66c53dd2d26d294b49969f0c3101a5368
5 changes: 4 additions & 1 deletion trunk/drivers/leds/leds-wm8350.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit e3d555e

Please sign in to comment.