Bluetooth: hci_qca: Add poweroff support during hci down for wcn3990
authorBalakrishna Godavarthi <bgodavar@codeaurora.org>
Mon, 24 Sep 2018 14:44:45 +0000 (20:14 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 27 Sep 2018 10:30:07 +0000 (12:30 +0200)
commit3e4be65eb82c843a2d8544c93b7a9f5d4984b03b
treebb91c3600fe7a6655fd26cc5ced624286053b07a
parentf7785021947949e81f046a5ba2d3c205bda9cccb
Bluetooth: hci_qca: Add poweroff support during hci down for wcn3990

This patch enables power off support for hci down and power on support
for hci up. As wcn3990 power sources are ignited by regulators, we will
turn off them during hci down, i.e. an complete power off of wcn3990.
So while hci up, will call vendor setup which will turn on the regulators,
requests BT chip version and download the firmware.

Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_qca.c