Bluetooth: btusb: Provide hardware error handler for Intel devices
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 28 Jan 2015 19:09:56 +0000 (11:09 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 28 Jan 2015 20:26:25 +0000 (21:26 +0100)
commit385a768c3be1b4235ed57d707581c74b0d0efd63
tree701af9afa74c53b7bca38f8d1a740232a1812b42
parentc7741d16a57cbf97eebe53f27e8216b1ff20e20c
Bluetooth: btusb: Provide hardware error handler for Intel devices

The Intel Bluetooth controllers can provide an additional exception
info string when a hardware error event occurs. The core will now
call hdev->hw_error to let the driver read out this information.

This change will cause a reset of the hardware to bring it back
into functional state and then read the Intel exception info
string and print it along with the error information.

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