Bluetooth: btbcm: Add helper functions for UART setup
authorFrederic Danis <frederic.danis@linux.intel.com>
Thu, 28 May 2015 09:25:04 +0000 (11:25 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 6 Jun 2015 05:33:25 +0000 (07:33 +0200)
commit75e167e6f0ddcf65567c0a604e4827f0a914a4c1
treeebae5dfc21095ce5a39d1ed63236e340ed7db63f
parent7721383f4199bb704c664f009423bc228bbac52e
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>
drivers/bluetooth/btbcm.c
drivers/bluetooth/btbcm.h
This page took 0.02855 seconds and 5 git commands to generate.