OSDN Git Service

Bluetooth: hci_qca: use wait_until_sent() for power pulses
authorBalakrishna Godavarthi <bgodavar@codeaurora.org>
Mon, 4 Feb 2019 15:06:41 +0000 (20:36 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 18 Feb 2019 10:49:40 +0000 (11:49 +0100)
commitf9558270b85c865131586fad48d0ecf5b1ea597d
tree5e82afc2f2a1a3c3e77c26780dc5f26ac8f2f2ae
parent761f1e9f99b2cec66397db59a8f77ff6cbbfa536
Bluetooth: hci_qca: use wait_until_sent() for power pulses

wcn3990 requires a power pulse to turn ON/OFF along with
regulators. Sometimes we are observing the power pulses are sent
out with some time delay, due to queuing these commands. This is
causing synchronization issues with chip, which intern delay the
chip setup or may end up with communication issues.

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