projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7853262
)
imx: ventana: fix invalid dio configuration for pwm mode
author
Tim Harvey
<tharvey@gateworks.com>
Tue, 24 May 2016 18:03:54 +0000
(11:03 -0700)
committer
Stefano Babic
<sbabic@denx.de>
Tue, 31 May 2016 15:25:16 +0000
(17:25 +0200)
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/common.c
patch
|
blob
|
history
diff --git
a/board/gateworks/gw_ventana/common.c
b/board/gateworks/gw_ventana/common.c
index a20190eef080fb93148faa3cf0e298727f51e229..7610381184eafd627fae43130da0c50e2389e123 100644
(file)
--- a/
board/gateworks/gw_ventana/common.c
+++ b/
board/gateworks/gw_ventana/common.c
@@
-760,7
+760,7
@@
void setup_board_gpio(int board, struct ventana_board_info *info)
ctrl);
gpio_requestf(cfg->gpio_param, "dio%d", i);
gpio_direction_input(cfg->gpio_param);
- } else if (hwconfig_subarg_cmp(
"dio2"
, "mode", "pwm") &&
+ } else if (hwconfig_subarg_cmp(
arg
, "mode", "pwm") &&
cfg->pwm_padmux) {
if (!quiet)
printf("DIO%d: pwm%d\n", i, cfg->pwm_param);