]> git.ipfire.org Git - thirdparty/linux.git/commit
Bluetooth: hci_qca: Disable IBS state machine and flush Tx buffer
authorBalakrishna Godavarthi <bgodavar@codeaurora.org>
Mon, 4 Feb 2019 15:06:43 +0000 (20:36 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 18 Feb 2019 10:49:53 +0000 (11:49 +0100)
commit035a960e7a279a59d74585105dcd263559d74f24
treeae0cf8e16a08e7e8dbbba35d338ae85ebecc7c04
parent78e8fa2972e5583bdda8103925217f5e1215b767
Bluetooth: hci_qca: Disable IBS state machine and flush Tx buffer

During hci down we observed IBS sleep commands are queued in the Tx
buffer and hci_uart_write_work is sending data to the chip which is
not required as the chip is powered off. This patch will disable IBS
and flush the Tx buffer before we turn off the chip.

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