summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAnantha Idapalapati <aidapalapati@nvidia.com>2010-08-10 09:10:03 +0530
committerVarun Colbert <vcolbert@nvidia.com>2011-02-22 18:11:28 -0800
commitf1cfb55a423603ba06755df42d27e5f6c08454f0 (patch)
treefcb7877852c13520a9f2ee20a1693aa996ef5929 /net
parente7f289e8956da115741ff6f277f123e835314da5 (diff)
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 <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'net')
-rw-r--r--net/bluetooth/hci_core.c3
1 files changed, 3 insertions, 0 deletions
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);
}