]> git.baikalelectronics.ru Git - kernel.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)
commit9ad62fbe5e85481c28fba449f54b3d8e166e93b6
tree55be1535d5151da93e7ef205d4fff0f53078e4f5
parentca40813f64c42855b9c627a111fb93aedd2e3a19
Bluetooth: btbcm: allow btbcm_read_verbose_config to fail on Apple

Commit 5bb6d9742c 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