bt: modify for mt6622
authorhwg <hwg@rock-chips.com>
Thu, 29 Nov 2012 11:03:01 +0000 (19:03 +0800)
committerhwg <hwg@rock-chips.com>
Thu, 29 Nov 2012 11:03:01 +0000 (19:03 +0800)
drivers/bluetooth/hci_ldisc.c

index 64bc1d9cb6c254ec5dc97b81f8da32ee879d101f..b79b04398a3bdc615bc8dfeff48d64ebe4d7e36f 100755 (executable)
@@ -144,6 +144,7 @@ int hci_uart_tx_wakeup(struct hci_uart *hu)
 
 restart:
        clear_bit(HCI_UART_TX_WAKEUP, &hu->tx_state);
+#if !defined(CONFIG_MT5931_MT6622)
 /*added by Barry,for broadcom 4325*/
 #ifdef CONFIG_BT_AUTOSLEEP
 #ifdef CONFIG_RFKILL_RK
@@ -153,6 +154,7 @@ restart:
     //extern void bcm4325_sleep(unsigned long bSleep);
     //bcm4325_sleep(0);
 #endif
+#endif
 #endif
        while ((skb = hci_uart_dequeue(hu))) {
                int len;