diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3h1-bluetooth.c')
| -rw-r--r-- | arch/arm/mach-omap2/board-omap3h1-bluetooth.c | 11 | 
1 files changed, 8 insertions, 3 deletions
| diff --git a/arch/arm/mach-omap2/board-omap3h1-bluetooth.c b/arch/arm/mach-omap2/board-omap3h1-bluetooth.c index b3cb230e16b..a56ae4e4bd5 100644 --- a/arch/arm/mach-omap2/board-omap3h1-bluetooth.c +++ b/arch/arm/mach-omap2/board-omap3h1-bluetooth.c @@ -47,7 +47,7 @@ static void set_host_wake_locked(int);  #define BT_REG_GPIO 180  #define BT_WAKE_GPIO 93  #define BT_HOST_WAKE_GPIO 11 -#define UART_PORT 1 +#define UART_PORT 0  /* UART 1 = 0 */  #define olio_debug(format, ...) printk ("OLIO %s: ", __FUNCTION__); printk (format, ##__VA_ARGS__) @@ -122,8 +122,13 @@ static void set_wake_locked(int wake)      if (wake) {          olio_debug ("Now locking wake lock\n");          wake_lock (&bt_lpm.bcm_wake_lock); + +        /* Does this even make sense here? We've already using the port,  +           doesn't that mean that we're */ +            +          if (!wake_uart_enabled) -            omap_serial_ext_uart_enable(UART_PORT); +             omap_serial_ext_uart_enable(UART_PORT);      }  	gpio_set_value(BT_WAKE_GPIO, wake); @@ -131,7 +136,7 @@ static void set_wake_locked(int wake)      /* Let UART know we're done with it */  	if (wake_uart_enabled && !wake) -		omap_serial_ext_uart_disable(UART_PORT); +        omap_serial_ext_uart_disable(UART_PORT);  	wake_uart_enabled = wake; |