]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: btbcm: allow btbcm_read_verbose_config to fail on Apple
authorChris Mason <clm@fb.com>
Tue, 14 Jul 2015 20:25:30 +0000 (16:25 -0400)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 14 Jul 2015 20:54:55 +0000 (22:54 +0200)
commit7bee8b08c428b63aa4a3765bb907602e36355378
tree55be1535d5151da93e7ef205d4fff0f53078e4f5
parentf760b87f8f12eb262f14603e65042996fe03720e
Bluetooth: btbcm: allow btbcm_read_verbose_config to fail on Apple

Commit 1c8ba6d013 moved around the setup code for broadcomm chips,
and also added btbcm_read_verbose_config() to read extra information
about the hardware.  It's returning errors on some macbooks:

Bluetooth: hci0: BCM: Read verbose config info failed (-16)

Which makes us error out of the setup function.  Since this
probe isn't critical to operate the chip, this patch just changes
things to carry on when it fails.

Signed-off-by: Chris Mason <clm@fb.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Cc: stable@vger.kernel.org # v4.1
drivers/bluetooth/btbcm.c