]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_bcm: Add wake-up capability
authorFrederic Danis <frederic.danis@linux.intel.com>
Fri, 4 Sep 2015 13:35:44 +0000 (15:35 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Sep 2015 11:20:06 +0000 (13:20 +0200)
commit6fa1df46b504c1a7d243b2ac9ff5995bf51bc8d5
tree8dbc2823963f81843dfc922534314290f0f03c3b
parentfef2cd572776339e8daa5bb1a3e895b878dd3eeb
Bluetooth: hci_bcm: Add wake-up capability

Retrieve the Interruption used by BCM device, which can be declared
as Interruption or GpioInt in the ACPI table.
Retrieve IRQ polarity from the ACPI table to use it for host_wake_active
parameter of Setup Sleep vendor specific command.
Configure BCM device to wake-up the host.
Enable IRQ wake while suspended.

Signed-off-by: Frederic Danis <frederic.danis@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c