diff options
author | Frederic Danis <frederic.danis@linux.intel.com> | 2015-08-11 16:35:35 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-08-11 21:26:26 +0200 |
commit | 0395ffc1ee0509df11ad830772c22d13627e02ec (patch) | |
tree | adcc678aece135fc5e19b3c5e57e2a743b075a72 /net/rfkill/rfkill-gpio.c | |
parent | cc2520: set the default fifo pin value from platform data (diff) | |
download | linux-dev-0395ffc1ee0509df11ad830772c22d13627e02ec.tar.xz linux-dev-0395ffc1ee0509df11ad830772c22d13627e02ec.zip |
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>
Diffstat (limited to 'net/rfkill/rfkill-gpio.c')
0 files changed, 0 insertions, 0 deletions