Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355686
b: refs/heads/master
c: 89aaf5c
h: refs/heads/master
v: v3
  • Loading branch information
Laurent Pinchart authored and Simon Horman committed Jan 28, 2013
1 parent f342307 commit cf10ed8
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 6c52bce43697c093ea1437337148b4fb9450af07
refs/heads/master: 89aaf5c0caefdadb61da81d8c143c5c2fb4b974a
7 changes: 3 additions & 4 deletions trunk/arch/arm/mach-shmobile/board-bonito.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,7 @@ static void __init bonito_init(void)
/*
* base board settings
*/
gpio_request(GPIO_PORT176, NULL);
gpio_direction_input(GPIO_PORT176);
gpio_request_one(GPIO_PORT176, GPIOF_IN, NULL);
if (!gpio_get_value(GPIO_PORT176)) {
u16 bsw2;
u16 bsw3;
Expand Down Expand Up @@ -462,8 +461,8 @@ static void __init bonito_init(void)
gpio_request(GPIO_FN_LCD0_DISP, NULL);
gpio_request(GPIO_FN_LCD0_LCLK_PORT165, NULL);

gpio_request(GPIO_PORT61, NULL); /* LCDDON */
gpio_direction_output(GPIO_PORT61, 1);
gpio_request_one(GPIO_PORT61, GPIOF_OUT_INIT_HIGH,
NULL); /* LCDDON */

/* backlight on */
bonito_fpga_write(LCDCR, 1);
Expand Down

0 comments on commit cf10ed8

Please sign in to comment.