From f1cfb55a423603ba06755df42d27e5f6c08454f0 Mon Sep 17 00:00:00 2001 From: Anantha Idapalapati Date: Tue, 10 Aug 2010 09:10:03 +0530 Subject: tegra bluesleep: Bluetooth active power management driver A new driver is implemented to actively manage the bluetooth module power. bluesleep also tries to manage the power of the transport used. Two signals (GPIOs) are used to manage the power events. BT_WAKE : signal from HOST to BT chip to intimate BT chip can sleep. HOST_WAKE: signal from BT chip to HOST to intimate HOST should wakeup/ activate the transport modules required for BT communication. Bug 791669, 773186 (cherry picked from commit 111f4ccd3c4cfde2fa52ae4c0c56a2288c3af3a8) Change-Id: Iff1e81bb22d9bd43113f7cdd01329da3ae852a15 Reviewed-on: http://git-master/r/19858 Reviewed-by: Bharat Nihalani Tested-by: Bharat Nihalani --- net/bluetooth/hci_core.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net') diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index de9127d6b9d3..e48a4be92899 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c @@ -1291,6 +1291,9 @@ static int hci_send_frame(struct sk_buff *skb) /* Get rid of skb owner, prior to sending to the driver. */ skb_orphan(skb); + /* Notify the registered devices about a new send */ + hci_notify(hdev, HCI_DEV_WRITE); + return hdev->send(skb); } -- cgit v1.2.3