Bluetooth: btbcm: Read the local name in setup stage
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 5 Oct 2015 10:43:57 +0000 (12:43 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 7 Oct 2015 04:41:11 +0000 (07:41 +0300)
commit9bc63ca0904da3f163c01087e27952dd962d548d
tree5f34f2ae4a277de12496e52aad33553287b0269a
parent22db3cbcf9f91eef848db0986869822b4bf27193
Bluetooth: btbcm: Read the local name in setup stage

The Broadcom Bluetooth controllers have the chip name included in the
ROM firmware or later in the patchram firmware. For debugging purposes
read the local name and print it out. This is only done during setup
stage and only once before loading the firmware and once after loading
the firmware.

For the Broadcom based controllers from Apple, the name is only read once
after determining the chip id.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/btbcm.c