Bluetooth: hci_qca: Deassert RTS while baudrate change command
authorBalakrishna Godavarthi <bgodavar@codeaurora.org>
Mon, 4 Feb 2019 15:06:42 +0000 (20:36 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 18 Feb 2019 10:49:41 +0000 (11:49 +0100)
commit78e8fa2972e5583bdda8103925217f5e1215b767
treea14f972d326c911538705ad2225675ea1366bd60
parentf9558270b85c865131586fad48d0ecf5b1ea597d
Bluetooth: hci_qca: Deassert RTS while baudrate change command

This patch will help to stop frame reassembly errors while changing
the baudrate. This is because host send a change baudrate request
command to the chip with 115200 bps, Whereas chip will change their
UART clocks to the enable for new baudrate and sends the response
for the change request command with newer baudrate, On host side
we are still operating in 115200 bps which results of reading garbage
data. Here we are pulling RTS line, so that chip we will wait to send data
to host until host change its baudrate.

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