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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Aug 2015 16:28:58 +0000 (09:28 -0700)
commitb5c06428d38a0d74d90901d2c3fcf8ad29292216
tree49f9b9d6823135f09b6ffc9e2bfaedca14693ab6
parent6665e53d7bd3e84d1f203b4d747d0c06c4bbf345
Bluetooth: btbcm: allow btbcm_read_verbose_config to fail on Apple

commit 7bee8b08c428b63aa4a3765bb907602e36355378 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bluetooth/btbcm.c