Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373657
b: refs/heads/master
c: 84f6942
h: refs/heads/master
i:
  373655: 6d4bece
v: v3
  • Loading branch information
Jingoo Han authored and Bryan Wu committed Apr 1, 2013
1 parent ee5f584 commit 93b4c9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: e9dd68cf148994bf2eb718c540a472170b1ad4d3
refs/heads/master: 84f6942cde279e812c59eed456d1f43a39ca6c40
5 changes: 3 additions & 2 deletions trunk/drivers/leds/leds-lt3593.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,9 @@ static int create_lt3593_led(const struct gpio_led *template,
if (!template->retain_state_suspended)
led_dat->cdev.flags |= LED_CORE_SUSPENDRESUME;

ret = devm_gpio_request_one(parent, template->gpio,
GPIOF_DIR_OUT | state, template->name);
ret = devm_gpio_request_one(parent, template->gpio, state ?
GPIOF_OUT_INIT_HIGH : GPIOF_OUT_INIT_LOW,
template->name);
if (ret < 0)
return ret;

Expand Down

0 comments on commit 93b4c9f

Please sign in to comment.