4c5b76edbe685389d525f906376bf649f95b8853
[openembedded.git] /
1 From d10aa1882d560d968dd61fb49ad1eeab5df84079 Mon Sep 17 00:00:00 2001
2 From: Sergio Aguirre <saaguirre@ti.com>
3 Date: Thu, 22 Jul 2010 17:29:20 -0500
4 Subject: [PATCH 1/3] omap3beagle: Partial revert "HACK: try to poweron stuff on xM rev A"
5
6 In this commit:
7
8   commit 0e0b2c1a7a3212e47e2fb07116f1b31914152f76
9   Author: Koen Kooi <koen@dominion.thruhere.net>
10   Date:   Tue May 4 17:04:27 2010 +0200
11
12       HACK: try to poweron stuff on xM rev A
13
14 There is a change introduced to modify the gpio init value after
15 setting its mode to output.
16
17 This was breaking somehow the camera. The sensor powerup sequence
18 was returning -EBUSY.
19
20 Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
21 ---
22  arch/arm/mach-omap2/board-omap3beagle.c |    2 +-
23  1 files changed, 1 insertions(+), 1 deletions(-)
24
25 diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
26 index 9bca9fa..3d05bfa 100644
27 --- a/arch/arm/mach-omap2/board-omap3beagle.c
28 +++ b/arch/arm/mach-omap2/board-omap3beagle.c
29 @@ -387,7 +387,7 @@ static int beagle_twl_gpio_setup(struct device *dev,
30  
31                 /* TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR (out, active low) */
32                 gpio_request(gpio + TWL4030_GPIO_MAX, "nEN_USB_PWR");
33 -               gpio_direction_output(gpio + TWL4030_GPIO_MAX, 0);
34 +               gpio_direction_output(gpio + TWL4030_GPIO_MAX, 1);
35         }
36         else {
37                 /* DVI reset GPIO is different between revisions */ 
38 -- 
39 1.6.6.1
40