diff options
author | Anantha Idapalapati <aidapalapati@nvidia.com> | 2010-08-10 09:10:03 +0530 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2010-09-23 20:48:14 -0700 |
commit | b8306f9dea5518a0bb5cec682f57cd1d87e755b9 (patch) | |
tree | ed08e049dec8a7a9e9bfbcc9eda9eebe1c694421 /net | |
parent | f1dc67120328e345dd5dfd5c96fba85fd9915690 (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 680524, 691608
(cherry picked from commit 111f4ccd3c4cfde2fa52ae4c0c56a2288c3af3a8)
Change-Id: I5edba2aa18c566f0ebfc4ecf9c54149ee3376666
Reviewed-on: http://git-master/r/6850
Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Anantha Idapalapati <aidapalapati@nvidia.com>
Tested-by: Anantha Idapalapati <aidapalapati@nvidia.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/hci_core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 84a9d75b0c61..f1c110555cff 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c @@ -1164,6 +1164,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); } |