]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btbcm: Move request/release_firmware()
authorFrederic Danis <frederic.danis@linux.intel.com>
Thu, 28 May 2015 09:25:01 +0000 (11:25 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 6 Jun 2015 05:29:56 +0000 (07:29 +0200)
commit1fce0f8a1b1157265af09232cd4ab1625144f894
treee1e3b2733d4fd91ec222bd45788a81da532017ab
parentad54a8898f080368edf9eb675c14e6d10894dbba
Bluetooth: btbcm: Move request/release_firmware()

Move request/release_firmware() out of btbcm_patchram().
This allows a better error management, if request_firmware() returns an
error then the controller will be used without firmware loading and 0 is
returned.
This will imply to change btbcm_patchram() to accept a firmware instead
of firmware name.

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
drivers/bluetooth/hci_bcm.c
drivers/bluetooth/hci_ldisc.c