Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198707
b: refs/heads/master
c: 48feb33
h: refs/heads/master
i:
  198705: b6ec84e
  198703: 8c29cf3
v: v3
  • Loading branch information
Felipe Balbi authored and Linus Torvalds committed May 27, 2010
1 parent 5f2c86d commit 9e85833
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 13 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: 168ef3d9a56bd8bffe0ef4189c450888b4aefefe
refs/heads/master: 48feb337475aaf8f8603b0db8e88c6fe3e194ab6
4 changes: 1 addition & 3 deletions trunk/arch/arm/mach-omap2/board-3430sdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ static void ads7846_dev_init(void)
}

gpio_direction_input(ts_gpio);

omap_set_gpio_debounce(ts_gpio, 1);
omap_set_gpio_debounce_time(ts_gpio, 0xa);
gpio_set_debounce(ts_gpio, 310);
}

static int ads7846_get_pendown_state(void)
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/arm/mach-omap2/board-ldp.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,7 @@ static void ads7846_dev_init(void)
}

gpio_direction_input(ts_gpio);
omap_set_gpio_debounce(ts_gpio, 1);
omap_set_gpio_debounce_time(ts_gpio, 0xa);
gpio_set_debounce(ts_gpio, 310);
}

static int ads7846_get_pendown_state(void)
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/arm/mach-omap2/board-omap3evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,7 @@ static void ads7846_dev_init(void)
printk(KERN_ERR "can't get ads7846 pen down GPIO\n");

gpio_direction_input(OMAP3_EVM_TS_GPIO);

omap_set_gpio_debounce(OMAP3_EVM_TS_GPIO, 1);
omap_set_gpio_debounce_time(OMAP3_EVM_TS_GPIO, 0xa);
gpio_set_debounce(OMAP3_EVM_TS_GPIO, 310);
}

static int ads7846_get_pendown_state(void)
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-omap2/board-omap3pandora.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ static struct platform_device pandora_keys_gpio = {
static void __init pandora_keys_gpio_init(void)
{
/* set debounce time for GPIO banks 4 and 6 */
omap_set_gpio_debounce_time(32 * 3, GPIO_DEBOUNCE_TIME);
omap_set_gpio_debounce_time(32 * 5, GPIO_DEBOUNCE_TIME);
gpio_set_debounce(32 * 3, GPIO_DEBOUNCE_TIME);
gpio_set_debounce(32 * 5, GPIO_DEBOUNCE_TIME);
}

static int board_keymap[] = {
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/arm/mach-omap2/board-omap3touchbook.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,7 @@ static void __init omap3_ads7846_init(void)
}

gpio_direction_input(OMAP3_TS_GPIO);
omap_set_gpio_debounce(OMAP3_TS_GPIO, 1);
omap_set_gpio_debounce_time(OMAP3_TS_GPIO, 0xa);
gpio_set_debounce(OMAP3_TS_GPIO, 310);
}

static struct ads7846_platform_data ads7846_config = {
Expand Down

0 comments on commit 9e85833

Please sign in to comment.