]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/bluetooth/hci_ldisc.c
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)
commit18aeb4445aa00f6f402ba3a92a2e9ff3d13882b4
treee1e3b2733d4fd91ec222bd45788a81da532017ab
parent133be0264f28e59d772c6a259349ba3ee2b183b3
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