OSDN Git Service

Bluetooth: hci_qca: Add wrapper functions for setting UART speed
authorBalakrishna Godavarthi <bgodavar@codeaurora.org>
Fri, 3 Aug 2018 12:16:29 +0000 (17:46 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 3 Aug 2018 12:44:07 +0000 (14:44 +0200)
commit83d9c5e56687a75cd75e537f97fb35009e9ba232
treef6e722e95e93af52147486e9262e4072316fb5b5
parentaadebac4639d84ee51a12f2a1706fea1e4760b81
Bluetooth: hci_qca: Add wrapper functions for setting UART speed

In function qca_setup, we set initial and operating speeds for Qualcomm
Bluetooth SoC's. This block of code is common across different
Qualcomm Bluetooth SoC's. Instead of duplicating the code, created
a wrapper function to set the speeds. So that future coming SoC's
can use these wrapper functions to set speeds.

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