OSDN Git Service

Bluetooth: hci_qca: Not send vendor pre-shutdown command for QCA Rome
authorRocky Liao <rjliao@codeaurora.org>
Sat, 29 Feb 2020 12:21:18 +0000 (20:21 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 28 Feb 2020 13:53:02 +0000 (14:53 +0100)
commit4f9ed5bd63dc16d061cdeb00eeff9d56e86a6beb
tree711e9e940cfa775d873346de26435b05bf809a42
parent107db7ec783820411801c469ed08f8f68b369e08
Bluetooth: hci_qca: Not send vendor pre-shutdown command for QCA Rome

QCA Rome doesn't support the pre-shutdown vendor hci command, this patch
will check the soc type in qca_power_off() and only send this command
for wcn399x.

Fixes: ae563183b647 ("Bluetooth: hci_qca: Enable power off/on support during hci down/up for QCA Rome")
Signed-off-by: Rocky Liao <rjliao@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_qca.c