]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_bcm: Add suspend/resume runtime PM functions
authorFrederic Danis <frederic.danis@linux.intel.com>
Wed, 23 Sep 2015 16:18:11 +0000 (18:18 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 24 Sep 2015 14:25:44 +0000 (16:25 +0200)
commitbe6de2b86927044cf43a836c94834a115277bba4
tree34f074a384a4965259f81ee045b022e9c615f8eb
parent2b3cfbcfe7f8add48f32a7e16dc5d9b602f869f4
Bluetooth: hci_bcm: Add suspend/resume runtime PM functions

Adds autosuspend runtime functionality to BCM UART driver.
Autosuspend is enabled at end of bcm_setup.

bcm_device_lock is used for system sleep functions as they can be
called at any time.
bcm_device_lock is not held for runtime suspend functions as this
is only enabled as long as platform device is opened.

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