commit | 0395ffc1ee0509df11ad830772c22d13627e02ec | [log] [tgz] |
---|---|---|
author | Frederic Danis <frederic.danis@linux.intel.com> | Tue Aug 11 16:35:35 2015 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue Aug 11 21:26:26 2015 +0200 |
tree | adcc678aece135fc5e19b3c5e57e2a743b075a72 | |
parent | 85998229161f8a83863c371aa021bdb0887b9a63 [diff] |
Bluetooth: hci_bcm: Add PM for BCM devices Retrieve "shutdown" and "device_wakeup" GPIOs from ACPI. Set device off during platform device enumeration. Set device on only when attached. As driver can be unbound we need to check if the bcm_device still exists before calling GPIO's functions, this is protected using device_list_lock. Signed-off-by: Frederic Danis <frederic.danis@linux.intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>