Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198459
b: refs/heads/master
c: 7176441
h: refs/heads/master
i:
  198457: 0075764
  198455: 5c5242b
v: v3
  • Loading branch information
Valentin Longchamp authored and Sascha Hauer committed May 6, 2010
1 parent 3dabc42 commit c9431d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 28a2afe0df1078d479923142a708adfe65fbf8b7
refs/heads/master: 7176441b95b4a04ad7cbac71d0d3614a7634d727
8 changes: 4 additions & 4 deletions trunk/arch/arm/mach-mx3/mx31moboard-smartbot.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ static int __init smartbot_cam_init(void)
#define POWER_EN IOMUX_TO_GPIO(MX31_PIN_DTR_DCE1)
#define DSPIC_RST_B IOMUX_TO_GPIO(MX31_PIN_DSR_DCE1)
#define TRSLAT_RST_B IOMUX_TO_GPIO(MX31_PIN_RI_DCE1)
#define SEL3 IOMUX_TO_GPIO(MX31_PIN_DCD_DCE1)
#define TRSLAT_SRC_CHOICE IOMUX_TO_GPIO(MX31_PIN_DCD_DCE1)

static void smartbot_resets_init(void)
{
Expand All @@ -138,9 +138,9 @@ static void smartbot_resets_init(void)
gpio_export(TRSLAT_RST_B, false);
}

if (!gpio_request(SEL3, "sel3")) {
gpio_direction_input(SEL3);
gpio_export(SEL3, true);
if (!gpio_request(TRSLAT_SRC_CHOICE, "translator-src-choice")) {
gpio_direction_output(TRSLAT_SRC_CHOICE, 0);
gpio_export(TRSLAT_SRC_CHOICE, false);
}
}
/*
Expand Down

0 comments on commit c9431d1

Please sign in to comment.