Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163139
b: refs/heads/master
c: 2fcc81a
h: refs/heads/master
i:
  163137: 74a2731
  163135: b87cc04
v: v3
  • Loading branch information
Vikram Pandita authored and Kevin Hilman committed Sep 2, 2009
1 parent fed1145 commit 3ed6550
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 5110b2980a1299f6c253260de385b0dc2b2308b0
refs/heads/master: 2fcc81a38b699a81e47fdd655cf514c789576554
7 changes: 4 additions & 3 deletions trunk/arch/arm/mach-omap2/board-zoom-debugboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ static inline void __init zoom2_init_quaduart(void)
static inline int omap_zoom2_debugboard_detect(void)
{
int debug_board_detect = 0;
int ret = 1;

debug_board_detect = ZOOM2_SMSC911X_GPIO;

Expand All @@ -140,10 +141,10 @@ static inline int omap_zoom2_debugboard_detect(void)
gpio_direction_input(debug_board_detect);

if (!gpio_get_value(debug_board_detect)) {
gpio_free(debug_board_detect);
return 0;
ret = 0;
}
return 1;
gpio_free(debug_board_detect);
return ret;
}

static struct platform_device *zoom2_devices[] __initdata = {
Expand Down

0 comments on commit 3ed6550

Please sign in to comment.