Bluetooth: btintel: Add generic function for handling hardware errors
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 5 Jul 2015 12:37:38 +0000 (14:37 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 23 Jul 2015 15:10:49 +0000 (17:10 +0200)
commit973bb97e5aee56edddaae3d5c96877101ad509c0
tree3d8a8496a0e1a55912ebee5874bb4d66456a076a
parent20a7e25f4ee173785fded331d2af4b68b1ef5921
Bluetooth: btintel: Add generic function for handling hardware errors

The handling of hardware error has support for providing a vendor
specific callback to deal with the error. Move the Intel specific
function out of the USB driver into the generic module so that it
can also be utilized by the UART driver.

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