From: Marcel Holtmann Date: Thu, 29 Jan 2015 21:14:00 +0000 (-0800) Subject: Bluetooth: btusb: Limit hardware error handling to Intel Snowfield Peak X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=74d9daafa5e0b4f9183540b41b337d42662f537b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Bluetooth: btusb: Limit hardware error handling to Intel Snowfield Peak In general all Intel Bluetooth devices support retrieving of additional exception information. However for older generations including Wilkens Peak and Stone Peak it is not as simple. So for now only enable the Intel specific error handling for Snowfield Peak and later devices. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 3aa4b3c776b2..86f3d92de22a 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -2709,7 +2709,6 @@ static int btusb_probe(struct usb_interface *intf, if (id->driver_info & BTUSB_INTEL) { hdev->setup = btusb_setup_intel; - hdev->hw_error = btusb_hw_error_intel; hdev->set_bdaddr = btusb_set_bdaddr_intel; }