Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373659
b: refs/heads/master
c: 901b74a
h: refs/heads/master
i:
  373657: 93b4c9f
  373655: 6d4bece
v: v3
  • Loading branch information
Jingoo Han authored and Bryan Wu committed Apr 1, 2013
1 parent 51743cd commit e99cdf3
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 9d04cbaadf563db3ba04426c317d3e84bc27bac1
refs/heads/master: 901b74a3c4044a07c7149365aa9c4eaa6c71964b
3 changes: 2 additions & 1 deletion trunk/drivers/leds/leds-renesas-tpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ static void r_tpu_set_pin(struct r_tpu_priv *p, enum r_tpu_pin new_state,
gpio_free(cfg->pin_gpio_fn);

if (new_state == R_TPU_PIN_GPIO)
gpio_request_one(cfg->pin_gpio, GPIOF_DIR_OUT | !!brightness,
gpio_request_one(cfg->pin_gpio, !!brightness ?
GPIOF_OUT_INIT_HIGH : GPIOF_OUT_INIT_LOW,
cfg->name);

if (new_state == R_TPU_PIN_GPIO_FN)
Expand Down

0 comments on commit e99cdf3

Please sign in to comment.