]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff4eebef7266aff4e508b50ed0b6759d4ef16a60
tree711e9e940cfa775d873346de26435b05bf809a42
parent161da3648bd085ab6e54e3919b4e828cfbfee9c4
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: 169a69154f12 ("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