Recently we changed the way how we release driver-data. A driver is now
responsible of destroying the data so we no longer need the device lock
on deinitialization in btusb driver.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
return;
hdev = data->hdev;
-
- hci_dev_hold(hdev);
-
usb_set_intfdata(data->intf, NULL);
if (data->isoc)
else if (data->isoc)
usb_driver_release_interface(&btusb_driver, data->isoc);
- hci_dev_put(hdev);
-
hci_free_dev(hdev);
kfree(data);
}