Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355714
b: refs/heads/master
c: e4f4e8b
h: refs/heads/master
v: v3
  • Loading branch information
Peter Ujfalusi committed Jan 22, 2013
1 parent 3a20799 commit 40f4b3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 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: b8e21308dd9561e37d9860c5423f3247f76f06b6
refs/heads/master: e4f4e8bfa47431b91fbb21dd9b86d9bc2c15cbd7
12 changes: 1 addition & 11 deletions trunk/arch/arm/mach-omap2/board-zoom-peripherals.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
#define OMAP_ZOOM_TSC2004_IRQ_GPIO (153)
#define OMAP_ZOOM_WLAN_IRQ_GPIO (162)

#define LCD_PANEL_ENABLE_GPIO (7 + OMAP_MAX_GPIO_LINES)

/* Zoom2 has Qwerty keyboard*/
static uint32_t board_keymap[] = {
KEY(0, 0, KEY_E),
Expand Down Expand Up @@ -243,23 +241,15 @@ static struct omap_tw4030_pdata omap_twl4030_audio_data = {
static int zoom_twl_gpio_setup(struct device *dev,
unsigned gpio, unsigned ngpio)
{
int ret;

/* gpio + 0 is "mmc0_cd" (input/IRQ) */
mmc[0].gpio_cd = gpio + 0;
omap_hsmmc_late_init(mmc);

ret = gpio_request_one(LCD_PANEL_ENABLE_GPIO, GPIOF_OUT_INIT_LOW,
"lcd enable");
if (ret)
pr_err("Failed to get LCD_PANEL_ENABLE_GPIO (gpio%d).\n",
LCD_PANEL_ENABLE_GPIO);

/* Audio setup */
omap_twl4030_audio_data.jack_detect = gpio + 2;
omap_twl4030_audio_init("Zoom2", &omap_twl4030_audio_data);

return ret;
return 0;
}

static struct twl4030_gpio_platform_data zoom_gpio_data = {
Expand Down

0 comments on commit 40f4b3f

Please sign in to comment.