|
@@ -1294,6 +1294,7 @@ descriptor_error:
|
|
|
return -ENODEV;
|
|
|
}
|
|
|
|
|
|
+/* No BKL needed */
|
|
|
static int
|
|
|
hub_ioctl(struct usb_interface *intf, unsigned int code, void *user_data)
|
|
|
{
|
|
@@ -3465,7 +3466,7 @@ static struct usb_driver hub_driver = {
|
|
|
.reset_resume = hub_reset_resume,
|
|
|
.pre_reset = hub_pre_reset,
|
|
|
.post_reset = hub_post_reset,
|
|
|
- .ioctl = hub_ioctl,
|
|
|
+ .unlocked_ioctl = hub_ioctl,
|
|
|
.id_table = hub_id_table,
|
|
|
.supports_autosuspend = 1,
|
|
|
};
|