On Tue, Mar 22, 2016 at 04:04:54PM +0100, Oliver Neukum wrote:
> static int usb_acecad_open(struct input_dev *dev)
> {
> struct usb_acecad *acecad = input_get_drvdata(dev);
>
> - acecad->irq->dev = acecad->usbdev;
> + acecad->irq->dev = interface_to_usbdev(acecad->intf);
By the way, do we still need to do this assignment before submitting
urb?
> if (usb_submit_urb(acecad->irq, GFP_KERNEL))
> return -EIO;
>
Thanks.
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html