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)
commit6cc4396c8829cb65e0cf182c8a13ce6b2ac66a88
tree8dbc2823963f81843dfc922534314290f0f03c3b
parente924d3d65aeef31733a84d16e3fe72531b0494b4
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