Bluetooth: hci_intel: Add PM support
authorLoic Poulain <loic.poulain@intel.com>
Wed, 2 Sep 2015 10:04:12 +0000 (12:04 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Sep 2015 11:20:01 +0000 (13:20 +0200)
commitaa6802df09fe324c2c19d75ab1a9a001cd7e4d4a
tree36e79ad6627f2e12515ac1ddb5929b33ec72f9d3
parent894365468ed4a569ece9de03abbf13f1af3042b8
Bluetooth: hci_intel: Add PM support

Add PM suspend/resume callbacks which call lpm_suspend/resume.
Add LPM ack in threaded IRQ handler to notify the controller that
resume is complete.
Protect hci_uart against concurrent removing during suspend/resume.

Signed-off-by: Loic Poulain <loic.poulain@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_intel.c