Bluetooth: hci_bcm: Make shutdown and device wake GPIO optional
authorStefan Wahren <stefan.wahren@i2se.com>
Sun, 25 Feb 2018 14:10:52 +0000 (15:10 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 25 Feb 2018 20:08:28 +0000 (21:08 +0100)
commitab2f336cb7e629de74d8af06bcaf6b15e4230e19
tree46bb6462a97402aa810ede821149f37ac7d37479
parent1fdb926974695d3dbc05a429bafa266fdd16510e
Bluetooth: hci_bcm: Make shutdown and device wake GPIO optional

According to the devicetree binding the shutdown and device wake
GPIOs are optional. Since commit 3e81a4ca51a1 ("Bluetooth: hci_bcm:
Mandate presence of shutdown and device wake GPIO") this driver
won't probe anymore on Raspberry Pi 3 and Zero W (no device wake GPIO
connected). So fix this regression by reverting this commit partially.

Fixes: 3e81a4ca51a1 ("Bluetooth: hci_bcm: Mandate presence of shutdown and device wake GPIO")
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c