Bluetooth: hci_qca: Make bt_en and susclk not mandatory for QCA Rome
authorRocky Liao <rjliao@codeaurora.org>
Wed, 4 Mar 2020 01:54:29 +0000 (09:54 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 4 Mar 2020 07:24:38 +0000 (08:24 +0100)
commit8a208b24d770c3db0099090a1ad62c848c363123
tree3eb51b8469375a793d68e65e535546766e55e3fb
parentb63882549b2bf2979cb1506bdf783edf8b45c613
Bluetooth: hci_qca: Make bt_en and susclk not mandatory for QCA Rome

On some platforms the bt_en pin and susclk are default on and there
is no exposed resource to control them. This patch makes the bt_en
and susclk not mandatory to have BT work. It also will not set the
HCI_QUIRK_NON_PERSISTENT_SETUP and shutdown() callback if bt_en is
not available.

Signed-off-by: Rocky Liao <rjliao@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_qca.c