Permalink
Browse files

zeus: added required usleep for zeus devices to fix BT

Change-Id: I9dec60df69268873fecd54cbea205316c8b2a4d3
  • Loading branch information...
freexperia committed Nov 12, 2011
1 parent 566d2f2 commit d1fc3f7f18197d272d61feb03b0b79924db89952
Showing with 6 additions and 0 deletions.
  1. +3 −0 brcm_patchram_plus/Android.mk
  2. +3 −0 brcm_patchram_plus/brcm_patchram_plus.c
@@ -11,6 +11,9 @@ include $(CLEAR_VARS)
ifeq ($(BOARD_WLAN_DEVICE),bcm4330)
LOCAL_CFLAGS += -DBOARD_HAS_BCM4330
endif
+ifeq ($(BOARD_HAVE_BLUETOOTH_BCM_SEMC),true)
+LOCAL_CFLAGS += -DBCM_SEMC
+endif
LOCAL_SRC_FILES := brcm_patchram_plus.c
LOCAL_MODULE := brcm_patchram_plus
@@ -322,6 +322,9 @@ parse_cmd_line(int argc, char **argv)
void
init_uart()
{
+#ifdef BCM_SEMC
+ usleep(150*1000);
+#endif
tcflush(uart_fd, TCIOFLUSH);
tcgetattr(uart_fd, &termios);

0 comments on commit d1fc3f7

Please sign in to comment.