]> asedeno.scripts.mit.edu Git - linux.git/commit
Bluetooth: btqca: inject command complete event during fw download
authorBalakrishna Godavarthi <bgodavar@codeaurora.org>
Tue, 28 May 2019 21:43:22 +0000 (14:43 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 6 Jul 2019 10:45:02 +0000 (12:45 +0200)
commit32646db8cc2862a14788de1bb4c365d0a27fb532
treeac088126ff11fc18ab30d62b8e0a2a1b344dc666
parent82b7d856649988b5ddaad5f17abb787f6909107f
Bluetooth: btqca: inject command complete event during fw download

Latest qualcomm chips are not sending an command complete event for
every firmware packet sent to chip. They only respond with a vendor
specific event for the last firmware packet. This optimization will
decrease the BT ON time. Due to this we are seeing a timeout error
message logs on the console during firmware download. Now we are
injecting a command complete event once we receive an vendor specific
event for the last RAM firmware packet.

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: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btqca.c
drivers/bluetooth/btqca.h