summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btrtl.c
diff options
context:
space:
mode:
authorFrederic Danis <frederic.danis@linux.intel.com>2015-05-28 11:25:04 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-06-06 07:33:25 +0200
commit75e167e6f0ddcf65567c0a604e4827f0a914a4c1 (patch)
treeebae5dfc21095ce5a39d1ed63236e340ed7db63f /drivers/bluetooth/btrtl.c
parent7721383f4199bb704c664f009423bc228bbac52e (diff)
downloadblackbird-op-linux-75e167e6f0ddcf65567c0a604e4827f0a914a4c1.tar.gz
blackbird-op-linux-75e167e6f0ddcf65567c0a604e4827f0a914a4c1.zip
Bluetooth: btbcm: Add helper functions for UART setup
Firmware loading may reset the controller UART speed and needs to set host UART speed back to init speed. UART drivers setup is split in 3 parts: - btbcm_initialize() resets the controller and returns the firmware name based on controller revision and sub_version. - btbtcm_patchram() (already existing and public), which takes the firmware name as parameter, requests the firmware and loads it to the controller. - btbcm_finalize() which resets the controller, reads local version and checks if the controller address is a default one or not. Remove firmware name retrieval for UART controllers from btbcm_setup_patchram(). Signed-off-by: Frederic Danis <frederic.danis@linux.intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btrtl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud