Merge remote-tracking branch 'remotes/tegra/android-tegra-2.6.36-honeycomb-mr1' into...
[firefly-linux-kernel-4.4.55.git] / drivers / bluetooth / hci_ldisc.c
old mode 100644 (file)
new mode 100755 (executable)
index 17361ba..24fe2f3
 
 #include "hci_uart.h"
 
+#ifdef CONFIG_BT_HCIBCM4325  
+extern int bcm4325_sleep(int bSleep);
+#endif
+
 #define VERSION "2.2"
 
 static int reset = 0;
@@ -133,7 +137,10 @@ int hci_uart_tx_wakeup(struct hci_uart *hu)
 
 restart:
        clear_bit(HCI_UART_TX_WAKEUP, &hu->tx_state);
-
+/*added by Barry,for broadcom 4325*/
+#ifdef CONFIG_BT_HCIBCM4325  
+       bcm4325_sleep(0);
+#endif;
        while ((skb = hci_uart_dequeue(hu))) {
                int len;