]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaececb1846adf9c7a166f913823a8f3ca255763b
treef6e722e95e93af52147486e9262e4072316fb5b5
parent0c05143045ea2c68b689f8250fe75538f71b2fdc
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