Bluetooth: btqca: Redefine qca_uart_setup() to generic function.
authorBalakrishna Godavarthi <bgodavar@codeaurora.org>
Fri, 3 Aug 2018 12:16:28 +0000 (17:46 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 3 Aug 2018 12:44:06 +0000 (14:44 +0200)
commitaadebac4639d84ee51a12f2a1706fea1e4760b81
treeab3d8140bce8bdd12c66bdf348ecc090e24ea880
parentba493d4fbcb84bd14842c61cc077ffb5b3f7ecb1
Bluetooth: btqca: Redefine qca_uart_setup() to generic function.

Redefinition of qca_uart_setup will help future Qualcomm Bluetooth
SoC, to use the same function instead of duplicating the function.
Added new arguments soc_type and soc_ver to the functions.

These arguments will help to decide type of firmware files
to be loaded into Bluetooth chip.
soc_type holds the Bluetooth chip connected to APPS processor.
soc_ver holds the Bluetooth chip version.

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/btqca.c
drivers/bluetooth/btqca.h
drivers/bluetooth/hci_qca.c