]> asedeno.scripts.mit.edu Git - linux.git/commit
Bluetooth: hci_qca: Add QCA Rome power off support to the qca_power_shutdown()
authorRocky Liao <rjliao@codeaurora.org>
Wed, 15 Jan 2020 08:55:50 +0000 (16:55 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 15 Jan 2020 21:36:57 +0000 (22:36 +0100)
commit5559904ccc0867a0ce796761681e40defe4a5f44
treea19b7506f16fd5cf2ac23708c7344c8fd68132bf
parentf25a96c8eb46b86744540ade61c2dbc844c23dbd
Bluetooth: hci_qca: Add QCA Rome power off support to the qca_power_shutdown()

Current qca_power_shutdown() only supports wcn399x, this patch adds Rome
power off support to it. For Rome it just needs to pull down the bt_en
GPIO to power off it. This patch also replaces all the power off operation
in qca_close() with the unified qca_power_shutdown() call.

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